mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
remove unused IonicComponent
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// import {NgElement, Component, View, Parent} from 'angular2/angular2'
|
||||
// import {IonicComponent} from 'ionic/config/component'
|
||||
|
||||
|
||||
/*
|
||||
@@ -36,5 +35,3 @@ export class Alert {
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
// new IonicComponent(Alert, {})
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
|
||||
import {IonicComponent} from 'ionic/config/component'
|
||||
|
||||
|
||||
@Directive({
|
||||
selector: 'ion-input'
|
||||
@@ -12,5 +10,3 @@ export class Input {
|
||||
console.log('INPUT');
|
||||
}
|
||||
}
|
||||
// new IonicComponent(Input, {
|
||||
// })
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
|
||||
import {IonicComponent} from 'ionic/config/component'
|
||||
|
||||
|
||||
@Directive({
|
||||
selector: 'ion-label'
|
||||
@@ -10,5 +8,3 @@ export class Label {
|
||||
constructor() {
|
||||
}
|
||||
}
|
||||
// new IonicComponent(Label, {
|
||||
// })
|
||||
|
||||
@@ -11,7 +11,6 @@ import {ViewController} from '../view/view-controller';
|
||||
import {ViewItem} from '../view/view-item';
|
||||
import {Tabs} from './tabs';
|
||||
import {Content} from '../content/content';
|
||||
import {IonicComponent} from '../../config/component';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -4,7 +4,6 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
|
||||
import {ProtoViewRef} from 'angular2/src/core/compiler/view_ref';
|
||||
import {NgZone} from 'angular2/src/core/zone/ng_zone';
|
||||
|
||||
import {IonicComponent} from 'ionic/config/component'
|
||||
import {Platform} from 'ionic/platform/platform';
|
||||
import * as dom from '../../util/dom';
|
||||
|
||||
@@ -82,9 +81,6 @@ export class Toolbar {
|
||||
|
||||
}
|
||||
|
||||
new IonicComponent(Toolbar, {
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
Used to find and register headers in a view, and this directive's
|
||||
|
||||
@@ -192,16 +192,3 @@ export class IonicComponent {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
@IonicComponent({
|
||||
selector: 'ion-back-button',
|
||||
properties: {
|
||||
icon: {
|
||||
ios: 'ion-back-ios',
|
||||
android: 'ion-back-android',
|
||||
default: 'ion-back'
|
||||
}
|
||||
}
|
||||
})
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user