chore(demos): IonicPlatform to Platform

This commit is contained in:
Drew Rygh
2015-10-18 10:56:28 -05:00
parent a63f22c56f
commit 3281d84718
2 changed files with 4 additions and 4 deletions

View File

@@ -1,11 +1,11 @@
import {IonicPlatform, Page, ActionSheet} from 'ionic/ionic';
import {Platform, Page, ActionSheet} from 'ionic/ionic';
@Page({
templateUrl: 'actionSheet/actionSheet.html',
})
export class ActionSheetPage {
constructor(actionSheet: ActionSheet, platform: IonicPlatform) {
constructor(actionSheet: ActionSheet, platform: Platform) {
this.actionSheet = actionSheet;
this.platform = platform;
}

View File

@@ -1,4 +1,4 @@
import {App, IonicApp, IonicPlatform, ActionSheet} from 'ionic/ionic';
import {App, IonicApp, Platform, ActionSheet} from 'ionic/ionic';
import {Page, Config, Events} from 'ionic/ionic';
import {ActionSheetPage} from './actionSheet/actionSheet';
import * as helpers from './helpers';
@@ -11,7 +11,7 @@ class DemoApp {
rootPage: any;
constructor(app: IonicApp, platform: IonicPlatform) {
constructor(app: IonicApp, platform: Platform) {
this.app = app;
this.platform = platform;