rename IonicComponent to ConfigComponent

This commit is contained in:
Adam Bradley
2015-10-07 10:54:28 -05:00
parent 1befe94802
commit 0be37b201f
5 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import {forwardRef, Directive, Host, View, EventEmitter, ElementRef} from 'angul
import {Ion} from '../ion';
import {IonicApp} from '../app/app';
import {IonicConfig} from '../../config/config';
import {IonicComponent} from '../../config/decorators';
import {ConfigComponent} from '../../config/decorators';
import {IonicPlatform} from '../../platform/platform';
import * as gestures from './menu-gestures';
@@ -43,7 +43,7 @@ import * as gestures from './menu-gestures';
* <ion-menu [content]="contentRef" type="overlay"></ion-menu>
* ```
*/
@IonicComponent({
@ConfigComponent({
selector: 'ion-menu',
inputs: [
'content',

View File

@@ -1,6 +1,6 @@
import {Component, Directive, View, ElementRef, Host, Optional, forwardRef, Inject, Injector, NgZone, Renderer, ViewContainerRef} from 'angular2/angular2';
import {IonicComponent} from '../../config/decorators';
import {ConfigComponent} from '../../config/decorators';
import {NavController} from './nav-controller';
/**
@@ -118,7 +118,7 @@ import {NavController} from './nav-controller';
* out of the current pane and the new view into the new content-only pane.
*
*/
@IonicComponent({
@ConfigComponent({
selector: 'ion-nav',
inputs: [
'root'

View File

@@ -2,7 +2,7 @@ import {ElementRef, Pipe, NgControl, Renderer, View} from 'angular2/angular2';
import {Ion} from '../ion';
import {IonicConfig} from '../../config/config';
import {IonicComponent} from '../../config/decorators';
import {ConfigComponent} from '../../config/decorators';
/**
* @name Search Bar
@@ -14,7 +14,7 @@ import {IonicComponent} from '../../config/decorators';
* <ion-search-bar ng-control="searchQuery"></ion-search-bar>
* ```
*/
@IonicComponent({
@ConfigComponent({
selector: 'ion-search-bar',
inputs: [
'list',

View File

@@ -4,7 +4,7 @@ import {Ion} from '../ion';
import {IonicApp} from '../app/app';
import {NavController} from '../nav/nav-controller';
import {ViewController} from '../nav/view-controller';
import {IonicComponent} from '../../config/decorators';
import {ConfigComponent} from '../../config/decorators';
import {IonicConfig} from '../../config/config';
import {Icon} from '../icon/icon';
import * as dom from 'ionic/util/dom';
@@ -60,7 +60,7 @@ import * as dom from 'ionic/util/dom';
* of that Tabs component.
*
*/
@IonicComponent({
@ConfigComponent({
selector: 'ion-tabs',
defaultInputs: {
'tabBarPlacement': 'bottom',

View File

@@ -81,7 +81,7 @@ export function IonicView(args) {
/**
* TODO
*/
export function IonicComponent(config) {
export function ConfigComponent(config) {
return function(cls) {
return makeComponent(cls, appendConfig(cls, config));
}