mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
i put the break in changes
This commit is contained in:
20
ionic/components/aside/test/basic/index.js
Normal file
20
ionic/components/aside/test/basic/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
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 {Aside} from 'ionic/components/aside/aside';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'ion-app'
|
||||
})
|
||||
@View({
|
||||
directives: [Aside, Content],
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class IonicApp {
|
||||
}
|
||||
|
||||
export function main() {
|
||||
bootstrap(IonicApp);
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
import {Aside} from 'ionic/components/aside/aside';
|
||||
import {Content} from 'ionic/components/content/content';
|
||||
import {View, Component, bootstrap} from 'angular2/angular2';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: '[ion-app]'
|
||||
})
|
||||
@View({
|
||||
directives: [Aside, Content],
|
||||
templateUrl: 'main.html'
|
||||
})
|
||||
class App {
|
||||
}
|
||||
|
||||
bootstrap(App);
|
||||
Reference in New Issue
Block a user