From 5c17f82e7f4b839915d2e6b27cecee2d85fde432 Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Mon, 5 Oct 2015 16:15:32 -0500 Subject: [PATCH] remove ion- component prefixes for now Closes #239. --- ionic/components/checkbox/checkbox.ts | 2 -- ionic/components/content/content.ts | 6 ++---- ionic/components/form/input.ts | 6 ++---- ionic/components/item/item.ts | 2 -- ionic/components/list/list.ts | 4 +--- ionic/components/modal/modal.ts | 2 -- ionic/components/popup/popup.ts | 2 -- ionic/components/radio/radio.ts | 2 -- ionic/components/scroll/pull-to-refresh.ts | 6 ++---- ionic/components/scroll/scroll.ts | 4 ++-- ionic/components/switch/switch.ts | 2 -- 11 files changed, 9 insertions(+), 29 deletions(-) diff --git a/ionic/components/checkbox/checkbox.ts b/ionic/components/checkbox/checkbox.ts index 0945413620..64a20d6500 100644 --- a/ionic/components/checkbox/checkbox.ts +++ b/ionic/components/checkbox/checkbox.ts @@ -12,8 +12,6 @@ import {IonicConfig} from '../../config/config'; import {IonicComponent, IonicView} from '../../config/decorators'; /** - * @name ionCheckbox - * @description * The checkbox is no different than the HTML checkbox input, except it's styled differently * * See the [Angular 2 Docs](https://angular.io/docs/js/latest/api/core/Form-interface.html) for more info on forms and input. diff --git a/ionic/components/content/content.ts b/ionic/components/content/content.ts index a9ba0d6b34..dd795bcb9f 100644 --- a/ionic/components/content/content.ts +++ b/ionic/components/content/content.ts @@ -10,13 +10,11 @@ import {ScrollTo} from '../../animations/scroll-to'; /** - * @name ionContent - * @description - * The ionContent component provides an easy to use content area that can be configured to use Ionic's custom Scroll View, or the built in overflow scrolling of the browser. + * The Content component provides an easy to use content area that can be configured to use Ionic's custom Scroll View, or the built in overflow scrolling of the browser. * * While we recommend using the custom Scroll features in Ionic in most cases, sometimes (for performance reasons) only the browser's native overflow scrolling will suffice, and so we've made it easy to toggle between the Ionic scroll implementation and overflow scrolling. * - * You can implement pull-to-refresh with the ionRefresher component. + * You can implement pull-to-refresh with the [Refresher](../../scroll/Refresher) component. * * @usage * ```html diff --git a/ionic/components/form/input.ts b/ionic/components/form/input.ts index 746526b931..6449beabb6 100644 --- a/ionic/components/form/input.ts +++ b/ionic/components/form/input.ts @@ -11,10 +11,8 @@ let activeInput = null; let lastInput = null; /** - * @name ionInput - * @description - * The ionInput component is used to focus text input elements. - * + * The Input component is used to focus text input elements. + * * The `focusNext()` and `focusPrevious()` methods make it easy to focus input elements across all devices. * * @usage diff --git a/ionic/components/item/item.ts b/ionic/components/item/item.ts index bac77e55a8..41129534d2 100644 --- a/ionic/components/item/item.ts +++ b/ionic/components/item/item.ts @@ -4,8 +4,6 @@ import {dom} from 'ionic/util'; /** - * @name ionItem - * @description * Creates a list-item that can easily be swiped, * deleted, reordered, edited, and more. * diff --git a/ionic/components/list/list.ts b/ionic/components/list/list.ts index 88a831ccfd..864fb11a62 100644 --- a/ionic/components/list/list.ts +++ b/ionic/components/list/list.ts @@ -7,15 +7,13 @@ import {ListVirtualScroll} from './virtual'; import * as util from 'ionic/util'; /** - * @name ionList - * @description * The List is a widely used interface element in almost any mobile app, and can include * content ranging from basic text all the way to buttons, toggles, icons, and thumbnails. * * Both the list, which contains items, and the list items themselves can be any HTML * element. * - * Using the ionList and ionItem components make it easy to support various + * Using the List and Item components make it easy to support various * interaction modes such as swipe to edit, drag to reorder, and removing items. * */ diff --git a/ionic/components/modal/modal.ts b/ionic/components/modal/modal.ts index 610865b854..14361e8a32 100644 --- a/ionic/components/modal/modal.ts +++ b/ionic/components/modal/modal.ts @@ -7,8 +7,6 @@ import {makeComponent} from '../../config/decorators'; import * as util from 'ionic/util'; /** - * @name ionModal - * @description * The Modal is a content pane that can go over the user's main view temporarily. Usually used for making a choice or editing an item. * * @usage diff --git a/ionic/components/popup/popup.ts b/ionic/components/popup/popup.ts index c96efb38f1..ccd6e343e5 100644 --- a/ionic/components/popup/popup.ts +++ b/ionic/components/popup/popup.ts @@ -9,8 +9,6 @@ import * as util from 'ionic/util'; /** - * @name Popup - * @description * The Ionic Popup service allows the creation of popup windows that require the user to respond in order to continue. * * The popup service has support for more flexible versions of the built in `alert()`, `prompt()`, and `confirm()` functions that users are used to, in addition to allowing popups with completely custom content and look. diff --git a/ionic/components/radio/radio.ts b/ionic/components/radio/radio.ts index cbd251a85c..a5098a6fe2 100644 --- a/ionic/components/radio/radio.ts +++ b/ionic/components/radio/radio.ts @@ -7,8 +7,6 @@ import {ListHeader} from '../list/list'; /** - * @name ionRadioGroup - * @description * A radio group is a group of radio components. * * Selecting a radio button in the group unselects all others in the group. diff --git a/ionic/components/scroll/pull-to-refresh.ts b/ionic/components/scroll/pull-to-refresh.ts index c20ef13ef6..8fafa82630 100644 --- a/ionic/components/scroll/pull-to-refresh.ts +++ b/ionic/components/scroll/pull-to-refresh.ts @@ -6,11 +6,9 @@ import * as util from 'ionic/util'; import {raf, ready, CSS} from 'ionic/util/dom'; /** - * @name ionRefresher - * @description - * Allows you to add pull-to-refresh to an ionContent component. + * Allows you to add pull-to-refresh to an Content component. * - * Place it as the first child of your ionContent or ionScroll element. + * Place it as the first child of your Content or Scroll element. * * When refreshing is complete, call `refresher.complete()` from your controller. * diff --git a/ionic/components/scroll/scroll.ts b/ionic/components/scroll/scroll.ts index 1e9dd408b8..d221909ba3 100644 --- a/ionic/components/scroll/scroll.ts +++ b/ionic/components/scroll/scroll.ts @@ -10,8 +10,8 @@ import {Animation} from '../../animations/animation'; import * as util from 'ionic/util'; /** - * ion-scroll is a non-flexboxed scroll area that can - * scroll horizontally or vertically. + * Scroll is a non-flexboxed scroll area that can scroll horizontally or + * vertically. */ @IonicComponent({ selector: 'ion-scroll', diff --git a/ionic/components/switch/switch.ts b/ionic/components/switch/switch.ts index e3fc3f6968..356a54059d 100644 --- a/ionic/components/switch/switch.ts +++ b/ionic/components/switch/switch.ts @@ -45,8 +45,6 @@ class MediaSwitch { /** - * @name ionSwitch - * @description * A switch technically is the same thing as an HTML checkbox input, except it looks different and is easier to use on a touch device. Ionic prefers to wrap the checkbox input with the