Skip to content

Commit

Permalink
lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Nov 2, 2016
1 parent 15a8970 commit 3ec486a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/lib/core/a11y/focus-trap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class FocusTrap implements AfterContentInit {
get active(): boolean {
return this._active;
}
set active(val : boolean) {
set active(val: boolean) {
this._active = val;
if (val && this._contentReady) {
this._ngZone.onMicrotaskEmpty.first().subscribe(() => {
Expand All @@ -39,10 +39,10 @@ export class FocusTrap implements AfterContentInit {
}

/** Whether the DOM content is ready. */
private _contentReady : boolean = false;
private _contentReady: boolean = false;

/** Whether the focus trap is active. */
private _active : boolean = true;
private _active: boolean = true;

constructor(private _checker: InteractivityChecker, private _ngZone: NgZone) { }

Expand Down
2 changes: 1 addition & 1 deletion src/lib/core/a11y/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {NgModule, ModuleWithProviders} from '@angular/core';
import {FocusTrap} from './focus-trap';
import {MdLiveAnnouncer} from './live-announcer';
import {InteractivityChecker} from './interactivity-checker';
import {CommonModule} from "@angular/common";
import {CommonModule} from '@angular/common';

export {FocusTrap} from './focus-trap';
export {MdLiveAnnouncer} from './live-announcer';
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sidenav/sidenav.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {fakeAsync, async, tick, ComponentFixture, TestBed} from '@angular/core/t
import {Component} from '@angular/core';
import {By} from '@angular/platform-browser';
import {MdSidenav, MdSidenavModule} from './sidenav';
import {A11yModule} from "../core/a11y/index";
import {A11yModule} from '../core/a11y/index';


function endSidenavTransition(fixture: ComponentFixture<any>) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sidenav/sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@angular/core';
import {CommonModule} from '@angular/common';
import {Dir, MdError, coerceBooleanProperty} from '../core';
import {A11yModule} from "../core/a11y/index";
import {A11yModule} from '../core/a11y/index';


/** Exception thrown when two MdSidenav are matching the same side. */
Expand Down

0 comments on commit 3ec486a

Please sign in to comment.