[ADF-1287] compatibility with the new noUnusedLocals rule (#2170)

* support for noUnusedLocals rule

* clean diagram components

* code cleanup

* Viewer fixes

* code fixes

* code fixes
This commit is contained in:
Denys Vuika
2017-08-04 15:35:15 +01:00
committed by Eugenio Romano
parent c5feae5de3
commit 66de20dd21
113 changed files with 190 additions and 346 deletions

View File

@@ -16,9 +16,8 @@
*/
import { Component, EventEmitter, Input, OnChanges, Output, SimpleChanges, ViewChild } from '@angular/core';
import { AlfrescoTranslationService, LogService } from 'ng2-alfresco-core';
import { AlfrescoTranslationService } from 'ng2-alfresco-core';
import { ReportQuery } from '../models/report.model';
import { AnalyticsService } from '../services/analytics.service';
import { AnalyticsGeneratorComponent } from './analytics-generator.component';
@Component({
@@ -54,10 +53,7 @@ export class AnalyticsComponent implements OnChanges {
reportParamQuery: ReportQuery;
constructor(private translateService: AlfrescoTranslationService,
private analyticsService: AnalyticsService,
private logService: LogService) {
logService.info('AnalyticsComponent');
constructor(translateService: AlfrescoTranslationService) {
if (translateService) {
translateService.addTranslationFolder('ng2-activiti-analytics', 'assets/ng2-activiti-analytics');
}