[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

@@ -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);