From 5b7a4f8aa55029ba12c48e6b55270640837288f3 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 30 Jul 2017 16:27:17 +0200 Subject: [PATCH] Cleanup dependencies. --- src/operations/categoryChart.component.ts | 3 --- src/operations/index.ts | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/src/operations/categoryChart.component.ts b/src/operations/categoryChart.component.ts index d041a36..5b0bd2b 100644 --- a/src/operations/categoryChart.component.ts +++ b/src/operations/categoryChart.component.ts @@ -8,8 +8,6 @@ import { OnInit, OnChanges } from '@angular/core'; -import { Logger } from '@nsalaun/ng-logger'; - import { Account } from '../accounts/account'; import { CategoryService } from './category.service'; @@ -27,7 +25,6 @@ export class CategoryChartComponent implements OnInit, OnChanges { constructor( private elementRef: ElementRef, private categoryService: CategoryService, - private logger: Logger, ) {} loadData(account: Account) { diff --git a/src/operations/index.ts b/src/operations/index.ts index 47d6a20..7c42883 100644 --- a/src/operations/index.ts +++ b/src/operations/index.ts @@ -25,22 +25,11 @@ import { downgradeComponent } from '@angular/upgrade/static'; -import { ToastrService } from 'ngx-toastr'; - -var ngResource = require('angular-resource'), - ngStrap = require('angular-strap'); - import accountModule from '@accountant/accounts'; -import { BalanceChartComponent } from './balanceChart.component'; -import { CategoryChartComponent } from './categoryChart.component'; -import { OperationService } from './operation.service'; - import { OperationListComponent } from './operationList.component'; export default angular.module('accountant.operations', [ - ngResource, - ngStrap, accountModule, ])