Skip to content

Commit c706500

Browse files
committed
Merge pull request PatrickJS#375 from harmjanluth/patch-1
Tslint fails over the whitespace in the production build
2 parents 3f525d2 + a6cd302 commit c706500

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/directives/router-active.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ export class RouterActive {
5050
});
5151
}
5252

53-
private _findRootRouter(): Router{
53+
private _findRootRouter(): Router {
5454
var router: Router = this.router;
5555
while (isPresent(router.parent)) {
5656
router = router.parent;
5757
}
5858
return router;
5959
}
6060

61-
private _updateClass(){
61+
private _updateClass() {
6262
let active = this.routerLink.first.isRouteActive;
6363
this.renderer.setElementClass(this.element.nativeElement, this._attrOrProp(), active);
6464
}

0 commit comments

Comments
 (0)