From 1cbb371d3f51dc20add97b684c9d195937707438 Mon Sep 17 00:00:00 2001 From: mburger81 Date: Wed, 29 Aug 2018 17:42:05 +0200 Subject: [PATCH] docs(platform): respect PLATFORMS_MAP from core (#15371) * docs(platform): respect PLATFORMS_MAP from core * docs(platform): adapt descriptions --- angular/src/providers/platform.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/angular/src/providers/platform.ts b/angular/src/providers/platform.ts index 6b9bc13319..63e73cf2ae 100644 --- a/angular/src/providers/platform.ts +++ b/angular/src/providers/platform.ts @@ -81,16 +81,16 @@ export class Platform { * |-----------------|------------------------------------| * | android | on a device running Android. | * | cordova | on a device running Cordova. | - * | core | on a desktop device. | * | ios | on a device running iOS. | * | ipad | on an iPad device. | - * | iphone | on an iPhone device. | - * | mobile | on a mobile device. | - * | mobileweb | in a browser on a mobile device. | + * | iphone | on an iPhone device. | * | phablet | on a phablet device. | - * | tablet | on a tablet device. | - * | windows | on a device running Windows. | + * | tablet | on a tablet device. | * | electron | in Electron on a desktop device. | + * | pwa | as a PWA app. | + * | mobile | on a mobile device. | + * | desktop | on a desktop device. | + * | hybrid | is a cordova or capacitor app. | * */ is(platformName: Platforms): boolean {