Removed redundant this.nav declaration (#6244)

`this.nav = nav` is already present due to the `public nav: NavController` declaration, having it in the constructor as well is redundant
This commit is contained in:
Jad Salhani
2016-04-20 23:05:06 +03:00
committed by Tim Lancina
parent c3fb051ed6
commit 9f2721709e

View File

@ -10,7 +10,5 @@ import {Page, NavController} from 'ionic-angular';
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html',
})
export class <%= jsClassName %> {
constructor(public nav: NavController) {
this.nav = nav;
}
constructor(public nav: NavController) {}
}