Fix linting errors

This commit is contained in:
Roman Hotsiy 2016-12-19 17:36:44 +02:00
parent 104bcb9cef
commit cc8e0f6ba5
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 6 additions and 5 deletions

View File

@ -27,16 +27,16 @@ import { LazyTasksService } from '../../shared/components/LazyFor/lazy-for';
export class Redoc extends BaseComponent implements OnInit { export class Redoc extends BaseComponent implements OnInit {
static _preOptions: any; static _preOptions: any;
private element: HTMLElement;
private $parent: Element;
private $refElem: Element;
error: any; error: any;
specLoaded: boolean; specLoaded: boolean;
options: any; options: any;
loadingProgress: number; loadingProgress: number;
private element: HTMLElement;
private $parent: Element;
private $refElem: Element;
@Input() specUrl: string; @Input() specUrl: string;
@HostBinding('class.loading') specLoading: boolean = false; @HostBinding('class.loading') specLoading: boolean = false;
@HostBinding('class.loading-remove') specLoadingRemove: boolean = false; @HostBinding('class.loading-remove') specLoadingRemove: boolean = false;

View File

@ -17,7 +17,6 @@ const CHANGE = {
@Injectable() @Injectable()
export class MenuService { export class MenuService {
private _hashSubscription: Subscription;
changed: EventEmitter<any> = new EventEmitter(); changed: EventEmitter<any> = new EventEmitter();
ready: BehaviorSubject<boolean> = new BehaviorSubject(false); ready: BehaviorSubject<boolean> = new BehaviorSubject(false);
@ -26,6 +25,8 @@ export class MenuService {
activeCatIdx: number = 0; activeCatIdx: number = 0;
activeMethodIdx: number = -1; activeMethodIdx: number = -1;
private _hashSubscription: Subscription;
constructor( constructor(
private hash:Hash, private hash:Hash,
private tasks: LazyTasksService, private tasks: LazyTasksService,