mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
docs(demos): remove unused injectables
This commit is contained in:
@ -14,9 +14,7 @@ import * as helpers from '../../helpers';
|
||||
directives: [forwardRef(() => helpers.AndroidAttribute)],
|
||||
})
|
||||
class TabTextCtrl {
|
||||
constructor(nav: NavController, view: ViewController) {
|
||||
this.nav = nav;
|
||||
this.view = view;
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
|
||||
@ -29,8 +27,7 @@ class TabTextCtrl {
|
||||
'</ion-tabs>',
|
||||
})
|
||||
export class BasicPage {
|
||||
constructor(nav: NavController, params: NavParams) {
|
||||
this.nav = nav;
|
||||
constructor() {
|
||||
this.tabOne = TabTextCtrl;
|
||||
this.tabTwo = TabTextCtrl;
|
||||
this.tabThree = TabTextCtrl;
|
||||
|
Reference in New Issue
Block a user