From cc8e0f6ba552beddae047d438d443317e875e757 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Mon, 19 Dec 2016 17:36:44 +0200 Subject: [PATCH] Fix linting errors --- lib/components/Redoc/redoc.ts | 8 ++++---- lib/services/menu.service.ts | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/components/Redoc/redoc.ts b/lib/components/Redoc/redoc.ts index 33d3b638..7bbefece 100644 --- a/lib/components/Redoc/redoc.ts +++ b/lib/components/Redoc/redoc.ts @@ -27,16 +27,16 @@ import { LazyTasksService } from '../../shared/components/LazyFor/lazy-for'; export class Redoc extends BaseComponent implements OnInit { static _preOptions: any; - private element: HTMLElement; - private $parent: Element; - private $refElem: Element; - error: any; specLoaded: boolean; options: any; loadingProgress: number; + private element: HTMLElement; + private $parent: Element; + private $refElem: Element; + @Input() specUrl: string; @HostBinding('class.loading') specLoading: boolean = false; @HostBinding('class.loading-remove') specLoadingRemove: boolean = false; diff --git a/lib/services/menu.service.ts b/lib/services/menu.service.ts index bd32b9b5..f76b85fd 100644 --- a/lib/services/menu.service.ts +++ b/lib/services/menu.service.ts @@ -17,7 +17,6 @@ const CHANGE = { @Injectable() export class MenuService { - private _hashSubscription: Subscription; changed: EventEmitter = new EventEmitter(); ready: BehaviorSubject = new BehaviorSubject(false); @@ -26,6 +25,8 @@ export class MenuService { activeCatIdx: number = 0; activeMethodIdx: number = -1; + private _hashSubscription: Subscription; + constructor( private hash:Hash, private tasks: LazyTasksService,