[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

@@ -27,8 +27,6 @@ import { ObjectDataRow, ObjectDataTableAdapter } from '../../data/object-datatab
import { DataCellEvent } from './data-cell.event';
import { DataRowActionEvent } from './data-row-action.event';
declare var componentHandler;
@Component({
selector: 'adf-datatable, alfresco-datatable',
styleUrls: ['./datatable.component.scss'],
@@ -110,7 +108,7 @@ export class DataTableComponent implements AfterContentInit, OnChanges, DoCheck
constructor(translateService: AlfrescoTranslationService,
private elementRef: ElementRef,
private differs: IterableDiffers) {
differs: IterableDiffers) {
if (differs) {
this.differ = differs.find([]).create(null);
}