This commit is contained in:
Adam Bradley
2015-06-22 11:14:36 -05:00
parent 1bfe393276
commit 43042ed999
5 changed files with 246 additions and 90 deletions

View File

@@ -1,9 +1,6 @@
import {NgFor, NgIf} from 'angular2/angular2';
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
import {View} from 'angular2/src/core/annotations_impl/view';
import * as util from 'ionic/util';
import {dom} from 'ionic/util';
import {Platform} from 'ionic/platform/platform';
const platformMode = Platform.getMode();

View File

@@ -1,6 +1,4 @@
import {NgFor, NgIf} from 'angular2/angular2';
import {NgSwitch, NgSwitchWhen} from 'angular2/angular2'
import {formDirectives} from 'angular2/forms';
import {coreDirectives} from 'angular2/angular2';
import {View} from 'angular2/src/core/annotations_impl/view';
@@ -22,8 +20,7 @@ export class IonicView extends View {
let directives = [
// Angular
NgFor, NgIf, formDirectives,
NgSwitch, NgSwitchWhen,
coreDirectives,
// Content
Aside, Content, Refresher,
@@ -38,8 +35,8 @@ export class IonicView extends View {
Icon,
// Form elements
Checkbox, Switch, Label, Input, Segment, SegmentButton,
RadioGroup, RadioButton, SearchBar,
//Checkbox, Switch, Label, Input, Segment, SegmentButton,
//RadioGroup, RadioButton, SearchBar,
// Nav
Nav, NavbarTemplate, Navbar, NavPush, NavPop