docs(demos): remove unused injectables

This commit is contained in:
Drew Rygh
2015-11-09 13:11:09 -06:00
parent c7d36440ec
commit 8d1370a706
4 changed files with 8 additions and 17 deletions

View File

@ -1,5 +1,5 @@
import {NavController, NavParams} from 'ionic/ionic';
import {Page, Events} from 'ionic/ionic';
import {Page} from 'ionic/ionic';
import {forwardRef} from 'angular2/angular2';
import * as helpers from '../../helpers';
@ -8,7 +8,7 @@ import * as helpers from '../../helpers';
directives: [forwardRef(() => helpers.AndroidAttribute)]
})
class NavigationDetailsPage {
constructor(nav: NavController, params: NavParams, events: Events) {
constructor(nav: NavController, params: NavParams) {
this.nav = nav;
this.selection = { title: params.data.name };
var navData = {

View File

@ -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;

View File

@ -14,9 +14,7 @@ import * as helpers from '../../helpers';
directives: [forwardRef(() => helpers.AndroidAttribute)],
})
class TabIconTextCtrl {
constructor(nav: NavController, view: ViewController) {
this.nav = nav;
this.view = view;
constructor() {
}
}
@ -30,8 +28,7 @@ class TabIconTextCtrl {
'</ion-tabs>',
})
export class IconTextPage {
constructor(nav: NavController, params: NavParams) {
this.nav = nav;
constructor() {
this.tabOne = TabIconTextCtrl;
this.tabTwo = TabIconTextCtrl;
this.tabThree = TabIconTextCtrl;

View File

@ -14,9 +14,7 @@ import * as helpers from '../../helpers';
directives: [forwardRef(() => helpers.AndroidAttribute)],
})
class TabIconCtrl {
constructor(nav: NavController, view: ViewController) {
this.nav = nav;
this.view = view;
constructor() {
}
}
@ -30,8 +28,7 @@ class TabIconCtrl {
'</ion-tabs>',
})
export class IconPage {
constructor(nav: NavController, params: NavParams) {
this.nav = nav;
constructor() {
this.tabOne = TabIconCtrl;
this.tabTwo = TabIconCtrl;
this.tabThree = TabIconCtrl;