You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/03/23 20:14:11 UTC

svn commit: r1736375 [7/44] - in /cordova/site/public: ./ announcements/2016/03/22/ blog/ docs/en/6.x/guide/cli/ docs/en/6.x/guide/hybrid/plugins/ docs/en/6.x/reference/cordova-cli/ docs/en/6.x/reference/cordova-plugin-splashscreen/ docs/en/dev/cordova...

Modified: cordova/site/public/docs/en/dev/cordova-plugin-device/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/cordova-plugin-device/index.html?rev=1736375&r1=1736374&r2=1736375&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/cordova-plugin-device/index.html (original)
+++ cordova/site/public/docs/en/dev/cordova-plugin-device/index.html Wed Mar 23 19:14:10 2016
@@ -19,10 +19,8 @@
 
     <!-- CSS -->
     <link rel="stylesheet" type="text/css" href="/static/css/main.css">
+    <link rel="stylesheet" type="text/css" href="/static/css/lib/syntax.css">
 
-    
-    <link rel="stylesheet" type="text/css" href="/static/js/lib/prettify/prettify.css">
-    
 
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
     <!--[if lt IE 9]>
@@ -768,7 +766,7 @@
 
     <li>
         
-        <a class="" href="../cordova-cli/index.html">
+        <a class="" href="../reference/cordova-cli/index.html">
             CLI
         </a>
         
@@ -838,7 +836,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-battery-status/index.html">
+        <a class="" href="../reference/cordova-plugin-battery-status/index.html">
             Battery Status
         </a>
         
@@ -855,7 +853,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-camera/index.html">
+        <a class="" href="../reference/cordova-plugin-camera/index.html">
             Camera
         </a>
         
@@ -872,7 +870,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-console/index.html">
+        <a class="" href="../reference/cordova-plugin-console/index.html">
             Console
         </a>
         
@@ -889,7 +887,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-contacts/index.html">
+        <a class="" href="../reference/cordova-plugin-contacts/index.html">
             Contacts
         </a>
         
@@ -906,13 +904,13 @@
 
     <li>
         
-        <a class="this-page" href="../cordova-plugin-device/index.html">
+        <a class="" href="../reference/cordova-plugin-device/index.html">
             Device
         </a>
         
 
         
-        <div id="page-toc" class="page-toc"></div>
+        
 
         
     </li>
@@ -923,7 +921,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-device-motion/index.html">
+        <a class="" href="../reference/cordova-plugin-device-motion/index.html">
             Device Motion
         </a>
         
@@ -940,7 +938,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-device-orientation/index.html">
+        <a class="" href="../reference/cordova-plugin-device-orientation/index.html">
             Device Orientation
         </a>
         
@@ -957,7 +955,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-dialogs/index.html">
+        <a class="" href="../reference/cordova-plugin-dialogs/index.html">
             Dialogs
         </a>
         
@@ -974,7 +972,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-file/index.html">
+        <a class="" href="../reference/cordova-plugin-file/index.html">
             File
         </a>
         
@@ -991,7 +989,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-file-transfer/index.html">
+        <a class="" href="../reference/cordova-plugin-file-transfer/index.html">
             File Transfer
         </a>
         
@@ -1008,7 +1006,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-geolocation/index.html">
+        <a class="" href="../reference/cordova-plugin-geolocation/index.html">
             Geolocation
         </a>
         
@@ -1025,7 +1023,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-globalization/index.html">
+        <a class="" href="../reference/cordova-plugin-globalization/index.html">
             Globalization
         </a>
         
@@ -1042,7 +1040,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-inappbrowser/index.html">
+        <a class="" href="../reference/cordova-plugin-inappbrowser/index.html">
             Inappbrowser
         </a>
         
@@ -1059,7 +1057,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-media/index.html">
+        <a class="" href="../reference/cordova-plugin-media/index.html">
             Media
         </a>
         
@@ -1076,7 +1074,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-media-capture/index.html">
+        <a class="" href="../reference/cordova-plugin-media-capture/index.html">
             Media Capture
         </a>
         
@@ -1093,7 +1091,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-network-information/index.html">
+        <a class="" href="../reference/cordova-plugin-network-information/index.html">
             Network Information
         </a>
         
@@ -1110,7 +1108,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-splashscreen/index.html">
+        <a class="" href="../reference/cordova-plugin-splashscreen/index.html">
             Splashscreen
         </a>
         
@@ -1127,7 +1125,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-vibration/index.html">
+        <a class="" href="../reference/cordova-plugin-vibration/index.html">
             Vibration
         </a>
         
@@ -1144,7 +1142,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-statusbar/index.html">
+        <a class="" href="../reference/cordova-plugin-statusbar/index.html">
             Statusbar
         </a>
         
@@ -1161,7 +1159,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-whitelist/index.html">
+        <a class="" href="../reference/cordova-plugin-whitelist/index.html">
             Whitelist
         </a>
         
@@ -1178,7 +1176,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+        <a class="" href="../reference/cordova-plugin-legacy-whitelist/index.html">
             Legacy Whitelist
         </a>
         
@@ -1210,10 +1208,10 @@
 
     <!-- Page content -->
     <div class="col-md-8 col-md-offset-1">
+        <div class=" content-header">
 
-        <!-- ToC Dropdown (for XS and SM sizes only) -->
-        <div class="toc-dropdown content-header visible-xs-block visible-sm-block">
-            <div class="dropdown">
+            <!-- ToC Dropdown (for XS and SM sizes only) -->
+            <div class="toc-dropdown dropdown visible-xs-block visible-sm-block">
                 <button class="btn btn-default dropdown-toggle" type="button" id="tocDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
                     Table of Contents
                     <span class="caret"></span>
@@ -1522,7 +1520,7 @@
 
 
 <li>
-    <a class="" href="../cordova-cli/index.html">
+    <a class="" href="../reference/cordova-cli/index.html">
         CLI
     </a>
 </li>
@@ -1552,7 +1550,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-battery-status/index.html">
+    <a class="" href="../reference/cordova-plugin-battery-status/index.html">
         Battery Status
     </a>
 </li>
@@ -1561,7 +1559,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-camera/index.html">
+    <a class="" href="../reference/cordova-plugin-camera/index.html">
         Camera
     </a>
 </li>
@@ -1570,7 +1568,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-console/index.html">
+    <a class="" href="../reference/cordova-plugin-console/index.html">
         Console
     </a>
 </li>
@@ -1579,7 +1577,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-contacts/index.html">
+    <a class="" href="../reference/cordova-plugin-contacts/index.html">
         Contacts
     </a>
 </li>
@@ -1588,7 +1586,7 @@
 
 
 <li>
-    <a class="this-page" href="../cordova-plugin-device/index.html">
+    <a class="" href="../reference/cordova-plugin-device/index.html">
         Device
     </a>
 </li>
@@ -1597,7 +1595,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-device-motion/index.html">
+    <a class="" href="../reference/cordova-plugin-device-motion/index.html">
         Device Motion
     </a>
 </li>
@@ -1606,7 +1604,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-device-orientation/index.html">
+    <a class="" href="../reference/cordova-plugin-device-orientation/index.html">
         Device Orientation
     </a>
 </li>
@@ -1615,7 +1613,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-dialogs/index.html">
+    <a class="" href="../reference/cordova-plugin-dialogs/index.html">
         Dialogs
     </a>
 </li>
@@ -1624,7 +1622,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-file/index.html">
+    <a class="" href="../reference/cordova-plugin-file/index.html">
         File
     </a>
 </li>
@@ -1633,7 +1631,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-file-transfer/index.html">
+    <a class="" href="../reference/cordova-plugin-file-transfer/index.html">
         File Transfer
     </a>
 </li>
@@ -1642,7 +1640,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-geolocation/index.html">
+    <a class="" href="../reference/cordova-plugin-geolocation/index.html">
         Geolocation
     </a>
 </li>
@@ -1651,7 +1649,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-globalization/index.html">
+    <a class="" href="../reference/cordova-plugin-globalization/index.html">
         Globalization
     </a>
 </li>
@@ -1660,7 +1658,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-inappbrowser/index.html">
+    <a class="" href="../reference/cordova-plugin-inappbrowser/index.html">
         Inappbrowser
     </a>
 </li>
@@ -1669,7 +1667,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-media/index.html">
+    <a class="" href="../reference/cordova-plugin-media/index.html">
         Media
     </a>
 </li>
@@ -1678,7 +1676,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-media-capture/index.html">
+    <a class="" href="../reference/cordova-plugin-media-capture/index.html">
         Media Capture
     </a>
 </li>
@@ -1687,7 +1685,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-network-information/index.html">
+    <a class="" href="../reference/cordova-plugin-network-information/index.html">
         Network Information
     </a>
 </li>
@@ -1696,7 +1694,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-splashscreen/index.html">
+    <a class="" href="../reference/cordova-plugin-splashscreen/index.html">
         Splashscreen
     </a>
 </li>
@@ -1705,7 +1703,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-vibration/index.html">
+    <a class="" href="../reference/cordova-plugin-vibration/index.html">
         Vibration
     </a>
 </li>
@@ -1714,7 +1712,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-statusbar/index.html">
+    <a class="" href="../reference/cordova-plugin-statusbar/index.html">
         Statusbar
     </a>
 </li>
@@ -1723,7 +1721,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-whitelist/index.html">
+    <a class="" href="../reference/cordova-plugin-whitelist/index.html">
         Whitelist
     </a>
 </li>
@@ -1732,7 +1730,7 @@
 
 
 <li>
-    <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+    <a class="" href="../reference/cordova-plugin-legacy-whitelist/index.html">
         Legacy Whitelist
     </a>
 </li>
@@ -1751,13 +1749,13 @@
 
                 </ul>
             </div>
-        </div>
 
-        <div class="content-header">
+            
+            
+                <a class="edit" href="https://github.com/apache/cordova-plugin-device/blob/1.1.1/README.md"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a>
 
-            <a class="edit" href="https://github.com/apache/cordova-plugin-device/blob/1.1.1/README.md">
-                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
-            </a>
+            
+            
 
             <!-- Language dropdown -->
             <div class="dropdown">
@@ -2052,6 +2050,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2073,13 +2076,18 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
                         
                         
 
-                        <a href="/docs/en/6.x/cordova-plugin-device/index.html">
+                        <a href="/docs/en/latest/cordova-plugin-device/index.html">
                             
                                 
                             6.x
@@ -2094,6 +2102,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2113,6 +2126,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2132,6 +2150,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2151,6 +2174,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2170,6 +2198,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2189,6 +2222,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2208,6 +2246,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2227,6 +2270,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2246,6 +2294,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2265,6 +2318,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2284,6 +2342,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2303,6 +2366,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2322,6 +2390,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2341,6 +2414,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2360,6 +2438,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2379,6 +2462,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2398,6 +2486,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2417,6 +2510,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2436,6 +2534,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2455,6 +2558,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2474,6 +2582,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2493,6 +2606,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2512,6 +2630,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2531,6 +2654,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2550,6 +2678,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2569,6 +2702,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2588,6 +2726,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2607,6 +2750,11 @@
                     <li>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2687,9 +2835,9 @@
 
 <h1>cordova-plugin-device</h1>
 
-<p>This plugin defines a global <code class="prettyprint">device</code> object, which describes the device&#39;s hardware and software.
-Although the object is in the global scope, it is not available until after the <code class="prettyprint">deviceready</code> event.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">document.addEventListener(&quot;deviceready&quot;, onDeviceReady, false);
+<p>This plugin defines a global <code>device</code> object, which describes the device&#39;s hardware and software.
+Although the object is in the global scope, it is not available until after the <code>deviceready</code> event.</p>
+<div class="highlight"><pre><code class="language-" data-lang="">document.addEventListener("deviceready", onDeviceReady, false);
 function onDeviceReady() {
     console.log(device.cordova);
 }
@@ -2697,7 +2845,7 @@ function onDeviceReady() {
 <p>:warning: Report issues on the <a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Device%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC">Apache Cordova issue tracker</a></p>
 
 <h2>Installation</h2>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add cordova-plugin-device
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-device
 </code></pre></div>
 <h2>Properties</h2>
 
@@ -2733,7 +2881,7 @@ function onDeviceReady() {
 
 <h2>device.model</h2>
 
-<p>The <code class="prettyprint">device.model</code> returns the name of the device&#39;s model or
+<p>The <code>device.model</code> returns the name of the device&#39;s model or
 product. The value is set by the device manufacturer and may be
 different across versions of the same product.</p>
 
@@ -2751,38 +2899,38 @@ different across versions of the same pr
 </ul>
 
 <h3>Quick Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Android:    Nexus One       returns &quot;Passion&quot; (Nexus One code name)
-//             Motorola Droid  returns &quot;voles&quot;
-// BlackBerry: Torch 9800      returns &quot;9800&quot;
-// Browser:    Google Chrome   returns &quot;Chrome&quot;
-//             Safari          returns &quot;Safari&quot;
+<div class="highlight"><pre><code class="language-" data-lang="">// Android:    Nexus One       returns "Passion" (Nexus One code name)
+//             Motorola Droid  returns "voles"
+// BlackBerry: Torch 9800      returns "9800"
+// Browser:    Google Chrome   returns "Chrome"
+//             Safari          returns "Safari"
 // iOS:     for the iPad Mini, returns iPad2,5; iPhone 5 is iPhone 5,1. See http://theiphonewiki.com/wiki/index.php?title=Models
-// OSX:                        returns &quot;x86_64&quot;
+// OSX:                        returns "x86_64"
 // 
 var model = device.model;
 </code></pre></div>
 <h3>Android Quirks</h3>
 
 <ul>
-<li>Gets the <a href="http://developer.android.com/reference/android/os/Build.html#PRODUCT">product name</a> instead of the <a href="http://developer.android.com/reference/android/os/Build.html#MODEL">model name</a>, which is often the production code name. For example, the Nexus One returns <code class="prettyprint">Passion</code>, and Motorola Droid returns <code class="prettyprint">voles</code>.</li>
+<li>Gets the <a href="http://developer.android.com/reference/android/os/Build.html#PRODUCT">product name</a> instead of the <a href="http://developer.android.com/reference/android/os/Build.html#MODEL">model name</a>, which is often the production code name. For example, the Nexus One returns <code>Passion</code>, and Motorola Droid returns <code>voles</code>.</li>
 </ul>
 
 <h3>Tizen Quirks</h3>
 
 <ul>
-<li>Returns the device model assigned by the vendor, for example, <code class="prettyprint">TIZEN</code></li>
+<li>Returns the device model assigned by the vendor, for example, <code>TIZEN</code></li>
 </ul>
 
 <h3>Windows Phone 7 and 8 Quirks</h3>
 
 <ul>
-<li>Returns the device model specified by the manufacturer. For example, the Samsung Focus returns <code class="prettyprint">SGH-i917</code>.</li>
+<li>Returns the device model specified by the manufacturer. For example, the Samsung Focus returns <code>SGH-i917</code>.</li>
 </ul>
 
 <h2>device.platform</h2>
 
 <p>Get the device&#39;s operating system name.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var string = device.platform;
+<div class="highlight"><pre><code class="language-" data-lang="">var string = device.platform;
 </code></pre></div>
 <h3>Supported Platforms</h3>
 
@@ -2799,28 +2947,28 @@ var model = device.model;
 </ul>
 
 <h3>Quick Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Depending on the device, a few examples are:
-//   - &quot;Android&quot;
-//   - &quot;BlackBerry 10&quot;
-//   - &quot;browser&quot;
-//   - &quot;iOS&quot;
-//   - &quot;WinCE&quot;
-//   - &quot;Tizen&quot;
-//   - &quot;Mac OS X&quot;
+<div class="highlight"><pre><code class="language-" data-lang="">// Depending on the device, a few examples are:
+//   - "Android"
+//   - "BlackBerry 10"
+//   - "browser"
+//   - "iOS"
+//   - "WinCE"
+//   - "Tizen"
+//   - "Mac OS X"
 var devicePlatform = device.platform;
 </code></pre></div>
 <h3>Windows Phone 7 Quirks</h3>
 
-<p>Windows Phone 7 devices report the platform as <code class="prettyprint">WinCE</code>.</p>
+<p>Windows Phone 7 devices report the platform as <code>WinCE</code>.</p>
 
 <h3>Windows Phone 8 Quirks</h3>
 
-<p>Windows Phone 8 devices report the platform as <code class="prettyprint">Win32NT</code>.</p>
+<p>Windows Phone 8 devices report the platform as <code>Win32NT</code>.</p>
 
 <h2>device.uuid</h2>
 
 <p>Get the device&#39;s Universally Unique Identifier (<a href="http://en.wikipedia.org/wiki/Universally_Unique_Identifier">UUID</a>).</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var string = device.uuid;
+<div class="highlight"><pre><code class="language-" data-lang="">var string = device.uuid;
 </code></pre></div>
 <h3>Description</h3>
 
@@ -2839,8 +2987,8 @@ var devicePlatform = device.platform;
 </ul>
 
 <h3>Quick Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Android: Returns a random 64-bit integer (as a string, again!)
-//          The integer is generated on the device&#39;s first boot
+<div class="highlight"><pre><code class="language-" data-lang="">// Android: Returns a random 64-bit integer (as a string, again!)
+//          The integer is generated on the device's first boot
 //
 // BlackBerry: Returns the PIN number of the device
 //             This is a nine-digit unique integer (as a string, though!)
@@ -2855,18 +3003,18 @@ var deviceID = device.uuid;
 </code></pre></div>
 <h3>iOS Quirk</h3>
 
-<p>The <code class="prettyprint">uuid</code> on iOS uses the identifierForVendor property. It is unique to the device across the same vendor, but will be different for different vendors and will change if all apps from the vendor are deleted and then reinstalled.
+<p>The <code>uuid</code> on iOS uses the identifierForVendor property. It is unique to the device across the same vendor, but will be different for different vendors and will change if all apps from the vendor are deleted and then reinstalled.
 See https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice<em>Class/#//apple</em>ref/occ/instp/UIDevice/identifierForVendor
 The UUID will be the same if app is restored from a backup or iCloud as it is saved in preferences. Users using older versions of this plugin will still receive the same previous UUID generated by another means as it will be retrieved from preferences.</p>
 
 <h3>OSX Quirk</h3>
 
-<p>The <code class="prettyprint">uuid</code> on OSX is generated automatically if it does not exist yet and is stored in the <code class="prettyprint">standardUserDefaults</code> in the <code class="prettyprint">CDVUUID</code> property. </p>
+<p>The <code>uuid</code> on OSX is generated automatically if it does not exist yet and is stored in the <code>standardUserDefaults</code> in the <code>CDVUUID</code> property. </p>
 
 <h3>Windows Phone 7 and 8 Quirks</h3>
 
-<p>The <code class="prettyprint">uuid</code> for Windows Phone 7 requires the permission
-<code class="prettyprint">ID_CAP_IDENTITY_DEVICE</code>.  Microsoft will likely deprecate this
+<p>The <code>uuid</code> for Windows Phone 7 requires the permission
+<code>ID_CAP_IDENTITY_DEVICE</code>.  Microsoft will likely deprecate this
 property soon.  If the capability is not available, the application
 generates a persistent guid that is maintained for the duration of the
 application&#39;s installation on the device.</p>
@@ -2874,7 +3022,7 @@ application&#39;s installation on the de
 <h2>device.version</h2>
 
 <p>Get the operating system version.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var string = device.version;
+<div class="highlight"><pre><code class="language-" data-lang="">var string = device.version;
 </code></pre></div>
 <h3>Supported Platforms</h3>
 
@@ -2890,27 +3038,27 @@ application&#39;s installation on the de
 </ul>
 
 <h3>Quick Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Android:    Froyo OS would return &quot;2.2&quot;
-//             Eclair OS would return &quot;2.1&quot;, &quot;2.0.1&quot;, or &quot;2.0&quot;
-//             Version can also return update level &quot;2.1-update1&quot;
+<div class="highlight"><pre><code class="language-" data-lang="">// Android:    Froyo OS would return "2.2"
+//             Eclair OS would return "2.1", "2.0.1", or "2.0"
+//             Version can also return update level "2.1-update1"
 //
-// BlackBerry: Torch 9800 using OS 6.0 would return &quot;6.0.0.600&quot;
+// BlackBerry: Torch 9800 using OS 6.0 would return "6.0.0.600"
 //
 // Browser:    Returns version number for the browser
 //
-// iPhone:     iOS 3.2 returns &quot;3.2&quot;
+// iPhone:     iOS 3.2 returns "3.2"
 //
 // Windows Phone 7: returns current OS version number, ex. on Mango returns 7.10.7720
 // Windows 8: return the current OS version, ex on Windows 8.1 returns 6.3.9600.16384
-// Tizen: returns &quot;TIZEN_20120425_2&quot;
-// OSX:        El Capitan would return &quot;10.11.2&quot;
+// Tizen: returns "TIZEN_20120425_2"
+// OSX:        El Capitan would return "10.11.2"
 //
 var deviceVersion = device.version;
 </code></pre></div>
 <h2>device.manufacturer</h2>
 
 <p>Get the device&#39;s manufacturer.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var string = device.manufacturer;
+<div class="highlight"><pre><code class="language-" data-lang="">var string = device.manufacturer;
 </code></pre></div>
 <h3>Supported Platforms</h3>
 
@@ -2923,16 +3071,16 @@ var deviceVersion = device.version;
 </ul>
 
 <h3>Quick Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Android:    Motorola XT1032 would return &quot;motorola&quot;
-// BlackBerry: returns &quot;BlackBerry&quot;
-// iPhone:     returns &quot;Apple&quot;
+<div class="highlight"><pre><code class="language-" data-lang="">// Android:    Motorola XT1032 would return "motorola"
+// BlackBerry: returns "BlackBerry"
+// iPhone:     returns "Apple"
 //
 var deviceManufacturer = device.manufacturer;
 </code></pre></div>
 <h2>device.isVirtual</h2>
 
 <p>whether the device is running on a simulator.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var isSim = device.isVirtual;
+<div class="highlight"><pre><code class="language-" data-lang="">var isSim = device.isVirtual;
 </code></pre></div>
 <h3>Supported Platforms</h3>
 
@@ -2946,12 +3094,12 @@ var deviceManufacturer = device.manufact
 
 <h3>OSX Quirk</h3>
 
-<p>The <code class="prettyprint">isVirtual</code> property on OS X always returns false.</p>
+<p>The <code>isVirtual</code> property on OS X always returns false.</p>
 
 <h2>device.serial</h2>
 
 <p>Get the device hardware serial number (<a href="http://developer.android.com/reference/android/os/Build.html#SERIAL">SERIAL</a>).</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">var string = device.serial;
+<div class="highlight"><pre><code class="language-" data-lang="">var string = device.serial;
 </code></pre></div>
 <h3>Supported Platforms</h3>
 
@@ -3039,7 +3187,6 @@ var deviceManufacturer = device.manufact
     </div>
 </footer>
 
-<script defer type="text/javascript" src="/static/js/lib/prettify/prettify.js"></script>
 <script defer type="text/javascript" src="/static/js/index.js"></script>
 <script defer type="text/javascript" src="/static/js/twitter.js"></script>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org