[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 Mario Romano
parent 0f239a1fa3
commit 9d3962b3b5
113 changed files with 190 additions and 346 deletions

View File

@@ -25,7 +25,7 @@ import {
Output,
SimpleChanges
} from '@angular/core';
import { AlfrescoTranslationService, DataColumnListComponent, LogService } from 'ng2-alfresco-core';
import { AlfrescoTranslationService, DataColumnListComponent } from 'ng2-alfresco-core';
import {
DataColumn,
DataRowEvent,
@@ -99,9 +99,8 @@ export class TaskListComponent implements OnChanges, AfterContentInit {
{ type: 'text', key: 'created', title: 'Created', cssClass: 'hidden', sortable: true }
];
constructor(private translateService: AlfrescoTranslationService,
private taskListService: TaskListService,
private logService: LogService) {
constructor(translateService: AlfrescoTranslationService,
private taskListService: TaskListService) {
if (translateService) {
translateService.addTranslationFolder('ng2-activiti-tasklist', 'assets/ng2-activiti-tasklist');
}