docs(config): updated platform to platforms and removed unnecessary imports

This commit is contained in:
Brandy Carney
2015-11-19 12:10:47 -05:00
parent 2b00048ac2
commit cf3a563983

View File

@ -13,7 +13,6 @@ import {isObject, isDefined, isFunction, isArray, extend} from '../util/util';
* Config lets you change multiple or a single value in an apps mode configuration. Things such as tab placement, icon changes, and view animations can be set here.
*
* ```ts
* import {Config} from 'ionic/ionic';
* @App({
* template: `<ion-nav [root]="root"></ion-nav>`
* config: {
@ -29,12 +28,11 @@ import {isObject, isDefined, isFunction, isArray, extend} from '../util/util';
*
* Config can be overwritting at multiple levels, allowing deeper configuration. Taking the example from earlier, we can override any setting we want based on a platform.
* ```ts
* import {Config} from 'ionic/ionic';
* @App({
* template: `<ion-nav [root]="root"></ion-nav>`
* config: {
* 'tabbarPlacement': 'bottom',
* platform: {
* platforms: {
* ios: {
* 'tabbarPlacement': 'top',
* }