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

View File

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

View File

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

View File

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