[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,13 +16,11 @@
*/
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Rx';
@Injectable()
export class FileUploadService {
public remove = new Subject<string>();
public onRemoveFile = this.remove.asObservable();
remove = new Subject<string>();
emitFileRemoved(item: any) {
this.remove.next(item);