[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

@@ -67,8 +67,8 @@ export class ContextMenuHolderComponent {
isShown = false;
private mouseLocation: { left: number, top: number } = {left: 0, top: 0};
constructor(private _contextMenuService: ContextMenuService) {
_contextMenuService.show.subscribe(e => this.showMenu(e.event, e.obj));
constructor(contextMenuService: ContextMenuService) {
contextMenuService.show.subscribe(e => this.showMenu(e.event, e.obj));
}
get locationCss() {