You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/11/27 23:45:06 UTC

docs commit: [CB-1838] iOS - Update Device docs for corrected device.platform implementation

Updated Branches:
  refs/heads/master 845591790 -> 307256d7b


[CB-1838] iOS - Update Device docs for corrected device.platform implementation


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/307256d7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/307256d7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/307256d7

Branch: refs/heads/master
Commit: 307256d7bc46753f93a4341a1024419ae02be718
Parents: 8455917
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Nov 27 14:45:00 2012 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Nov 27 14:45:00 2012 -0800

----------------------------------------------------------------------
 docs/en/edge/cordova/device/device.platform.md |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/307256d7/docs/en/edge/cordova/device/device.platform.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/cordova/device/device.platform.md b/docs/en/edge/cordova/device/device.platform.md
index 68eb884..d76c6c4 100644
--- a/docs/en/edge/cordova/device/device.platform.md
+++ b/docs/en/edge/cordova/device/device.platform.md
@@ -29,7 +29,7 @@ Supported Platforms
 
 - Android
 - BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
+- iOS
 - Windows Phone 7
 - Bada 1.2 & 2.x
 - webOS
@@ -42,7 +42,7 @@ Quick Example
     // Depending on the device, a few examples are:
     //   - "Android"
     //   - "BlackBerry"
-    //   - "iPhone"
+    //   - "iOS"
     //   - "webOS"
     //   - "WinCE"
     //   - "Tizen"
@@ -56,7 +56,7 @@ Full Example
       <head>
         <title>Device Properties Example</title>
 
-        <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
+        <script type="text/javascript" charset="utf-8" src="cordova-2.3.0.js"></script>
         <script type="text/javascript" charset="utf-8">
 
         // Wait for Cordova to load
@@ -82,11 +82,6 @@ Full Example
       </body>
     </html>
     
-iPhone Quirks
--------------
-
-The iPhone returns `iPhone` as the platform. The iPad returns `iPad` as the platform.  In the simulator they will return `iPhone Simulator` and `iPad Simulator` respectively.  These are inaccurate in all cases because Apple has rebranded the iPhone operating system as `iOS`.
-
 BlackBerry Quirks
 -----------------