mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
i put the break in changes
This commit is contained in:
23
ionic/components/layout/test/basic/index.js
Normal file
23
ionic/components/layout/test/basic/index.js
Normal file
@ -0,0 +1,23 @@
|
||||
import {bootstrap} from 'angular2/angular2'
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {Content} from 'ionic/components/content/content';
|
||||
import {Layout} from 'ionic/components/layout/layout';
|
||||
|
||||
|
||||
@Component({ selector: 'ion-app' })
|
||||
@View({
|
||||
templateUrl: 'main.html',
|
||||
directives: [Content, Layout]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function main() {
|
||||
bootstrap(IonicApp);
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
import {Component, View, bootstrap} from 'angular2/angular2';
|
||||
import {Content} from 'ionic/components/content/content';
|
||||
import {Layout} from 'ionic/components/layout/layout';
|
||||
|
||||
|
||||
@Component({ selector: '[ion-app]' })
|
||||
@View({
|
||||
templateUrl: 'main.html',
|
||||
directives: [Content, Layout]
|
||||
})
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start')
|
||||
}
|
||||
}
|
||||
|
||||
bootstrap(IonicApp)
|
Reference in New Issue
Block a user