docs(platform): fix import statements

This commit is contained in:
Adam Bradley
2016-03-03 20:39:20 -06:00
parent ae4e447d12
commit bd1173284b

View File

@ -12,7 +12,7 @@ import {Config} from '../config/config';
*
* @usage
* ```ts
* import {Platform} 'ionic-angular';
* import {Platform} from 'ionic-angular';
* export MyClass {
* constructor(platform: Platform){
* this.platform = platform;
@ -57,7 +57,7 @@ export class Platform {
* Depending on the platform name, isPlatform will return true or flase
*
* ```
* import {Platform} 'ionic-angular';
* import {Platform} from 'ionic-angular';
* export MyClass {
* constructor(platform: Platform){
* this.platform = platform;
@ -81,7 +81,7 @@ export class Platform {
* it would return mobile, ios, and iphone.
*
* ```
* import {Platform} 'ionic-angular';
* import {Platform} from 'ionic-angular';
* export MyClass {
* constructor(platform: Platform){
* this.platform = platform;
@ -103,7 +103,7 @@ export class Platform {
* Returns an object containing information about the paltform
*
* ```
* import {Platform} 'ionic-angular';
* import {Platform} from 'ionic-angular';
* export MyClass {
* constructor(platform: Platform){
* this.platform = platform;
@ -142,7 +142,7 @@ export class Platform {
* Returns a promise when the platform is ready and native functionality can be called
*
* ```
* import {Platform} 'ionic-angular';
* import {Platform} from 'ionic-angular';
* export MyClass {
* constructor(platform: Platform){
* this.platform = platform;