cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r1736375 [4/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...
Date Wed, 23 Mar 2016 19:14:11 GMT
Modified: cordova/site/public/docs/en/dev/cordova-plugin-camera/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/cordova-plugin-camera/index.html?rev=1736375&r1=1736374&r2=1736375&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/cordova-plugin-camera/index.html (original)
+++ cordova/site/public/docs/en/dev/cordova-plugin-camera/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,13 +853,13 @@
 
     <li>
         
-        <a class="this-page" href="../cordova-plugin-camera/index.html">
+        <a class="" href="../reference/cordova-plugin-camera/index.html">
             Camera
         </a>
         
 
         
-        <div id="page-toc" class="page-toc"></div>
+        
 
         
     </li>
@@ -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,7 +904,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-device/index.html">
+        <a class="" href="../reference/cordova-plugin-device/index.html">
             Device
         </a>
         
@@ -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="this-page" 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="" 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-camera/blob/master/README.md"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a>
 
-            <a class="edit" href="https://github.com/apache/cordova-plugin-camera/blob/master/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-camera/index.html">
+                        <a href="/docs/en/latest/cordova-plugin-camera/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>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2689,11 +2837,11 @@
 
 <h1>cordova-plugin-camera</h1>
 
-<p>This plugin defines a global <code class="prettyprint">navigator.camera</code> object, which provides an API for taking pictures and for choosing images from
+<p>This plugin defines a global <code>navigator.camera</code> object, which provides an API for taking pictures and for choosing images from
 the system&#39;s image library.</p>
 
-<p>Although the object is attached to the global scoped <code class="prettyprint">navigator</code>, 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>Although the object is attached to the global scoped <code>navigator</code>, 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(navigator.camera);
 }
@@ -2701,13 +2849,13 @@ function onDeviceReady() {
 <h2>Installation</h2>
 
 <p>This requires cordova 5.0+</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add cordova-plugin-camera
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-camera
 </code></pre></div>
 <p>Older versions of cordova can still install via the <strong>deprecated</strong> id</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add org.apache.cordova.camera
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add org.apache.cordova.camera
 </code></pre></div>
 <p>It is also possible to install via repo url directly ( unstable )</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add https://github.com/apache/cordova-plugin-camera.git
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add https://github.com/apache/cordova-plugin-camera.git
 </code></pre></div>
 <h2>How to Contribute</h2>
 
@@ -2725,9 +2873,9 @@ function onDeviceReady() {
 
 <h2>This documentation is generated by a tool</h2>
 
-<p>:warning: Run <code class="prettyprint">npm install</code> in the plugin repo to enable automatic docs generation if you plan to send a PR.<br>
+<p>:warning: Run <code>npm install</code> in the plugin repo to enable automatic docs generation if you plan to send a PR.<br>
 <a href="https://www.npmjs.com/package/jsdoc-to-markdown">jsdoc-to-markdown</a> is used to generate the docs.<br>
-Documentation consists of template and API docs produced from the plugin JS code and should be regenerated before each commit (done automatically via <a href="https://github.com/typicode/husky">husky</a>, running <code class="prettyprint">npm run gen-docs</code> script as a <code class="prettyprint">precommit</code> hook - see <code class="prettyprint">package.json</code> for details).</p>
+Documentation consists of template and API docs produced from the plugin JS code and should be regenerated before each commit (done automatically via <a href="https://github.com/typicode/husky">husky</a>, running <code>npm run gen-docs</code> script as a <code>precommit</code> hook - see <code>package.json</code> for details).</p>
 
 <hr>
 
@@ -2769,43 +2917,43 @@ Documentation consists of template and A
 
 <p>Takes a photo using the camera, or retrieves a photo from the device&#39;s
 image gallery.  The image is passed to the success callback as a
-Base64-encoded <code class="prettyprint">String</code>, or as the URI for the image file.</p>
+base64-encoded <code>String</code>, or as the URI for the image file.</p>
 
-<p>The <code class="prettyprint">camera.getPicture</code> function opens the device&#39;s default camera
+<p>The <code>camera.getPicture</code> function opens the device&#39;s default camera
 application that allows users to snap pictures by default - this behavior occurs,
-when <code class="prettyprint">Camera.sourceType</code> equals <a href="#module_Camera.PictureSourceType"><code class="prettyprint">Camera.PictureSourceType.CAMERA</code></a>.
+when <code>Camera.sourceType</code> equals <a href="#module_Camera.PictureSourceType"><code>Camera.PictureSourceType.CAMERA</code></a>.
 Once the user snaps the photo, the camera application closes and the application is restored.</p>
 
-<p>If <code class="prettyprint">Camera.sourceType</code> is <code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> or
-<code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code>, then a dialog displays
+<p>If <code>Camera.sourceType</code> is <code>Camera.PictureSourceType.PHOTOLIBRARY</code> or
+<code>Camera.PictureSourceType.SAVEDPHOTOALBUM</code>, then a dialog displays
 that allows users to select an existing image.  The
-<code class="prettyprint">camera.getPicture</code> function returns a <a href="#module_CameraPopoverHandle"><code class="prettyprint">CameraPopoverHandle</code></a> object,
+<code>camera.getPicture</code> function returns a <a href="#module_CameraPopoverHandle"><code>CameraPopoverHandle</code></a> object,
 which can be used to reposition the image selection dialog, for
 example, when the device orientation changes.</p>
 
-<p>The return value is sent to the <a href="#module_camera.onSuccess"><code class="prettyprint">cameraSuccess</code></a> callback function, in
+<p>The return value is sent to the <a href="#module_camera.onSuccess"><code>cameraSuccess</code></a> callback function, in
 one of the following formats, depending on the specified
-<code class="prettyprint">cameraOptions</code>:</p>
+<code>cameraOptions</code>:</p>
 
 <ul>
-<li><p>A <code class="prettyprint">String</code> containing the Base64-encoded photo image.</p></li>
-<li><p>A <code class="prettyprint">String</code> representing the image file location on local storage (default).</p></li>
+<li><p>A <code>String</code> containing the base64-encoded photo image.</p></li>
+<li><p>A <code>String</code> representing the image file location on local storage (default).</p></li>
 </ul>
 
 <p>You can do whatever you want with the encoded image or URI, for
 example:</p>
 
 <ul>
-<li><p>Render the image in an <code class="prettyprint">&lt;img&gt;</code> tag, as in the example below</p></li>
-<li><p>Save the data locally (<code class="prettyprint">LocalStorage</code>, <a href="http://brianleroux.github.com/lawnchair/">Lawnchair</a>, etc.)</p></li>
+<li><p>Render the image in an <code>&lt;img&gt;</code> tag, as in the example below</p></li>
+<li><p>Save the data locally (<code>LocalStorage</code>, <a href="http://brianleroux.github.com/lawnchair/">Lawnchair</a>, etc.)</p></li>
 <li><p>Post the data to a remote server</p></li>
 </ul>
 
 <p><strong>NOTE</strong>: Photo resolution on newer devices is quite good. Photos
 selected from the device&#39;s gallery are not downscaled to a lower
-quality, even if a <code class="prettyprint">quality</code> parameter is specified.  To avoid common
-memory problems, set <code class="prettyprint">Camera.destinationType</code> to <code class="prettyprint">FILE_URI</code> rather
-than <code class="prettyprint">DATA_URL</code>.</p>
+quality, even if a <code>quality</code> parameter is specified.  To avoid common
+memory problems, set <code>Camera.destinationType</code> to <code>FILE_URI</code> rather
+than <code>DATA_URL</code>.</p>
 
 <p><strong>Supported Platforms</strong></p>
 
@@ -2857,9 +3005,9 @@ than <code class="prettyprint">DATA_URL<
 <h3>camera.cleanup()</h3>
 
 <p>Removes intermediate image files that are kept in temporary storage
-after calling <a href="#module_camera.getPicture"><code class="prettyprint">camera.getPicture</code></a>. Applies only when the value of
-<code class="prettyprint">Camera.sourceType</code> equals <code class="prettyprint">Camera.PictureSourceType.CAMERA</code> and the
-<code class="prettyprint">Camera.destinationType</code> equals <code class="prettyprint">Camera.DestinationType.FILE_URI</code>.</p>
+after calling <a href="#module_camera.getPicture"><code>camera.getPicture</code></a>. Applies only when the value of
+<code>Camera.sourceType</code> equals <code>Camera.PictureSourceType.CAMERA</code> and the
+<code>Camera.destinationType</code> equals <code>Camera.DestinationType.FILE_URI</code>.</p>
 
 <p><strong>Supported Platforms</strong></p>
 
@@ -2872,11 +3020,11 @@ after calling <a href="#module_camera.ge
 <div class="highlight"><pre><code class="language-js" data-lang="js"><span class="nx">navigator</span><span class="p">.</span><span class="nx">camera</span><span class="p">.</span><span class="nx">cleanup</span><span class="p">(</span><span class="nx">onSuccess</span><span class="p">,</span> <span class="nx">onFail</span><span class="p">);</span>
 
 <span class="kd">function</span> <span class="nx">onSuccess</span><span class="p">()</span> <span class="p">{</span>
-    <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="s2">&quot;Camera cleanup success.&quot;</span><span class="p">)</span>
+    <span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="s2">"Camera cleanup success."</span><span class="p">)</span>
 <span class="p">}</span>
 
 <span class="kd">function</span> <span class="nx">onFail</span><span class="p">(</span><span class="nx">message</span><span class="p">)</span> <span class="p">{</span>
-    <span class="nx">alert</span><span class="p">(</span><span class="s1">&#39;Failed because: &#39;</span> <span class="o">+</span> <span class="nx">message</span><span class="p">);</span>
+    <span class="nx">alert</span><span class="p">(</span><span class="s1">'Failed because: '</span> <span class="o">+</span> <span class="nx">message</span><span class="p">);</span>
 <span class="p">}</span>
 </code></pre></div>
 <p><a name="module_camera.onError"></a></p>
@@ -2919,7 +3067,7 @@ after calling <a href="#module_camera.ge
 <tr>
 <td>imageData</td>
 <td><code>string</code></td>
-<td>Base64 encoding of the image data, <em>or</em> the image file URI, depending on <a href="#module_camera.CameraOptions"><code class="prettyprint">cameraOptions</code></a> in effect.</td>
+<td>Base64 encoding of the image data, <em>or</em> the image file URI, depending on <a href="#module_camera.CameraOptions"><code>cameraOptions</code></a> in effect.</td>
 </tr>
 </tbody></table>
 
@@ -2927,8 +3075,8 @@ after calling <a href="#module_camera.ge
 <div class="highlight"><pre><code class="language-js" data-lang="js"><span class="c1">// Show image</span>
 <span class="c1">//</span>
 <span class="kd">function</span> <span class="nx">cameraCallback</span><span class="p">(</span><span class="nx">imageData</span><span class="p">)</span> <span class="p">{</span>
-   <span class="kd">var</span> <span class="nx">image</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">&#39;myImage&#39;</span><span class="p">);</span>
-   <span class="nx">image</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s2">&quot;data:image/jpeg;base64,&quot;</span> <span class="o">+</span> <span class="nx">imageData</span><span class="p">;</span>
+   <span class="kd">var</span> <span class="nx">image</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'myImage'</span><span class="p">);</span>
+   <span class="nx">image</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s2">"data:image/jpeg;base64,"</span> <span class="o">+</span> <span class="nx">imageData</span><span class="p">;</span>
 <span class="p">}</span>
 </code></pre></div>
 <p><a name="module_camera.CameraOptions"></a></p>
@@ -2986,19 +3134,19 @@ after calling <a href="#module_camera.ge
 <td>targetWidth</td>
 <td><code>number</code></td>
 <td></td>
-<td>Width in pixels to scale image. Must be used with <code class="prettyprint">targetHeight</code>. Aspect ratio remains constant.</td>
+<td>Width in pixels to scale image. Must be used with <code>targetHeight</code>. Aspect ratio remains constant.</td>
 </tr>
 <tr>
 <td>targetHeight</td>
 <td><code>number</code></td>
 <td></td>
-<td>Height in pixels to scale image. Must be used with <code class="prettyprint">targetWidth</code>. Aspect ratio remains constant.</td>
+<td>Height in pixels to scale image. Must be used with <code>targetWidth</code>. Aspect ratio remains constant.</td>
 </tr>
 <tr>
 <td>mediaType</td>
 <td><code><a href="#module_Camera.MediaType">MediaType</a></code></td>
 <td><code>PICTURE</code></td>
-<td>Set the type of media to select from.  Only works when <code class="prettyprint">PictureSourceType</code> is <code class="prettyprint">PHOTOLIBRARY</code> or <code class="prettyprint">SAVEDPHOTOALBUM</code>.</td>
+<td>Set the type of media to select from.  Only works when <code>PictureSourceType</code> is <code>PHOTOLIBRARY</code> or <code>SAVEDPHOTOALBUM</code>.</td>
 </tr>
 <tr>
 <td>correctOrientation</td>
@@ -3309,9 +3457,9 @@ location.</p>
 <p><strong>Example</strong>  </p>
 <div class="highlight"><pre><code class="language-js" data-lang="js"><span class="kd">var</span> <span class="nx">cameraPopoverHandle</span> <span class="o">=</span> <span class="nx">navigator</span><span class="p">.</span><span class="nx">camera</span><span class="p">.</span><span class="nx">getPicture</span><span class="p">(</span><span class="nx">onSuccess</span><span class="p">,</span> <span class="nx">onFail</span><span class="p">,</span>
 <span class="p">{</span>
-    <span class="nx">destinationType</span><span class="o">:</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">DestinationType</span><span class="p">.</span><span class="nx">FILE_URI</span><span class="p">,</span>
-    <span class="nx">sourceType</span><span class="o">:</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">PictureSourceType</span><span class="p">.</span><span class="nx">PHOTOLIBRARY</span><span class="p">,</span>
-    <span class="nx">popoverOptions</span><span class="o">:</span> <span class="k">new</span> <span class="nx">CameraPopoverOptions</span><span class="p">(</span><span class="mi">300</span><span class="p">,</span> <span class="mi">300</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">PopoverArrowDirection</span><span class="p">.</span><span class="nx">ARROW_ANY</span><span class="p">)</span>
+    <span class="na">destinationType</span><span class="p">:</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">DestinationType</span><span class="p">.</span><span class="nx">FILE_URI</span><span class="p">,</span>
+    <span class="na">sourceType</span><span class="p">:</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">PictureSourceType</span><span class="p">.</span><span class="nx">PHOTOLIBRARY</span><span class="p">,</span>
+    <span class="na">popoverOptions</span><span class="p">:</span> <span class="k">new</span> <span class="nx">CameraPopoverOptions</span><span class="p">(</span><span class="mi">300</span><span class="p">,</span> <span class="mi">300</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="nx">Camera</span><span class="p">.</span><span class="nx">PopoverArrowDirection</span><span class="p">.</span><span class="nx">ARROW_ANY</span><span class="p">)</span>
 <span class="p">});</span>
 
 <span class="c1">// Reposition the popover if the orientation changes.</span>
@@ -3322,42 +3470,42 @@ location.</p>
 </code></pre></div>
 <hr>
 
-<h2><code class="prettyprint">camera.getPicture</code> Errata</h2>
+<h2><code>camera.getPicture</code> Errata</h2>
 
 <h4>Example <a name="camera-getPicture-examples"></a></h4>
 
-<p>Take a photo and retrieve it as a Base64-encoded image:</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+<p>Take a photo and retrieve it as a base64-encoded image:</p>
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
     destinationType: Camera.DestinationType.DATA_URL
 });
 
 function onSuccess(imageData) {
-    var image = document.getElementById(&#39;myImage&#39;);
-    image.src = &quot;data:image/jpeg;base64,&quot; + imageData;
+    var image = document.getElementById('myImage');
+    image.src = "data:image/jpeg;base64," + imageData;
 }
 
 function onFail(message) {
-    alert(&#39;Failed because: &#39; + message);
+    alert('Failed because: ' + message);
 }
 </code></pre></div>
 <p>Take a photo and retrieve the image&#39;s file location:</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
     destinationType: Camera.DestinationType.FILE_URI });
 
 function onSuccess(imageURI) {
-    var image = document.getElementById(&#39;myImage&#39;);
+    var image = document.getElementById('myImage');
     image.src = imageURI;
 }
 
 function onFail(message) {
-    alert(&#39;Failed because: &#39; + message);
+    alert('Failed because: ' + message);
 }
 </code></pre></div>
 <h4>Preferences (iOS)</h4>
 
 <ul>
 <li><p><strong>CameraUsesGeolocation</strong> (boolean, defaults to false). For capturing JPEGs, set to true to get geolocation data in the EXIF header. This will trigger a request for geolocation permissions if set to true.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">&lt;preference name=&quot;CameraUsesGeolocation&quot; value=&quot;false&quot; /&gt;
+<div class="highlight"><pre><code class="language-" data-lang="">&lt;preference name="CameraUsesGeolocation" value="false" /&gt;
 </code></pre></div></li>
 </ul>
 
@@ -3365,7 +3513,7 @@ function onFail(message) {
 
 <p>Amazon Fire OS uses intents to launch the camera activity on the device to capture
 images, and on phones with low memory, the Cordova activity may be killed.  In this
-scenario, the image may not appear when the Cordova activity is restored.</p>
+scenario, the image may not appear when the cordova activity is restored.</p>
 
 <h4>Android Quirks</h4>
 
@@ -3373,14 +3521,14 @@ scenario, the image may not appear when
 images, and on phones with low memory, the Cordova activity may be killed.  In this
 scenario, the result from the plugin call will be delivered via the resume event.
 See <a href="http://cordova.apache.org/docs/en/dev/guide/platforms/android/lifecycle.html">the Android Lifecycle guide</a>
-for more information. The <code class="prettyprint">pendingResult.result</code> value will contain the value that
+for more information. The <code>pendingResult.result</code> value will contain the value that
 would be passed to the callbacks (either the URI/URL or an error message). Check
-the <code class="prettyprint">pendingResult.pluginStatus</code> to determine whether or not the call was
+the <code>pendingResult.pluginStatus</code> to determine whether or not the call was
 successful.</p>
 
 <h4>Browser Quirks</h4>
 
-<p>Can only return photos as Base64-encoded image.</p>
+<p>Can only return photos as base64-encoded image.</p>
 
 <h4>Firefox OS Quirks</h4>
 
@@ -3388,11 +3536,11 @@ successful.</p>
 
 <h4>iOS Quirks</h4>
 
-<p>Including a JavaScript <code class="prettyprint">alert()</code> in either of the callback functions
-can cause problems.  Wrap the alert within a <code class="prettyprint">setTimeout()</code> to allow
+<p>Including a JavaScript <code>alert()</code> in either of the callback functions
+can cause problems.  Wrap the alert within a <code>setTimeout()</code> to allow
 the iOS image picker or popover to fully close before the alert
 displays:</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">setTimeout(function() {
+<div class="highlight"><pre><code class="language-" data-lang="">setTimeout(function() {
     // do your thing here!
 }, 0);
 </code></pre></div>
@@ -3403,58 +3551,58 @@ via Zune does not work, and triggers an
 
 <h4>Tizen Quirks</h4>
 
-<p>Tizen only supports a <code class="prettyprint">destinationType</code> of
-<code class="prettyprint">Camera.DestinationType.FILE_URI</code> and a <code class="prettyprint">sourceType</code> of
-<code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code>.</p>
+<p>Tizen only supports a <code>destinationType</code> of
+<code>Camera.DestinationType.FILE_URI</code> and a <code>sourceType</code> of
+<code>Camera.PictureSourceType.PHOTOLIBRARY</code>.</p>
 
-<h2><code class="prettyprint">CameraOptions</code> Errata <a name="CameraOptions-quirks"></a></h2>
+<h2><code>CameraOptions</code> Errata <a name="CameraOptions-quirks"></a></h2>
 
 <h4>Amazon Fire OS Quirks</h4>
 
 <ul>
-<li><p>Any <code class="prettyprint">cameraDirection</code> value results in a back-facing photo.</p></li>
-<li><p>Ignores the <code class="prettyprint">allowEdit</code> parameter.</p></li>
-<li><p><code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> and <code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code> both display the same photo album.</p></li>
+<li><p>Any <code>cameraDirection</code> value results in a back-facing photo.</p></li>
+<li><p>Ignores the <code>allowEdit</code> parameter.</p></li>
+<li><p><code>Camera.PictureSourceType.PHOTOLIBRARY</code> and <code>Camera.PictureSourceType.SAVEDPHOTOALBUM</code> both display the same photo album.</p></li>
 </ul>
 
 <h4>Android Quirks</h4>
 
 <ul>
-<li><p>Any <code class="prettyprint">cameraDirection</code> value results in a back-facing photo.</p></li>
-<li><p><strong><code class="prettyprint">allowEdit</code> is unpredictable on Android and it should not be used!</strong> The Android implementation of this plugin tries to find and use an application on the user&#39;s device to do image cropping. The plugin has no control over what application the user selects to perform the image cropping and it is very possible that the user could choose an incompatible option and cause the plugin to fail. This sometimes works because most devices come with an application that handles cropping in a way that is compatible with this plugin (Google Plus Photos), but it is unwise to rely on that being the case. If image editing is essential to your application, consider seeking a third party library or plugin that provides its own image editing utility for a more robust solution.</p></li>
-<li><p><code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> and <code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code> both display the same photo album.</p></li>
-<li><p>Ignores the <code class="prettyprint">encodingType</code> parameter if the image is unedited (i.e. <code class="prettyprint">quality</code> is 100, <code class="prettyprint">correctOrientation</code> is false, and no <code class="prettyprint">targetHeight</code> or <code class="prettyprint">targetWidth</code> are specified). The <code class="prettyprint">CAMERA</code> source will always return the JPEG file given by the native camera and the <code class="prettyprint">PHOTOLIBRARY</code> and <code class="prettyprint">SAVEDPHOTOALBUM</code> sources will return the selected file in its existing encoding.</p></li>
+<li><p>Any <code>cameraDirection</code> value results in a back-facing photo.</p></li>
+<li><p><strong><code>allowEdit</code> is unpredictable on Android and it should not be used!</strong> The Android implementation of this plugin tries to find and use an application on the user&#39;s device to do image cropping. The plugin has no control over what application the user selects to perform the image cropping and it is very possible that the user could choose an incompatible option and cause the plugin to fail. This sometimes works because most devices come with an application that handles cropping in a way that is compatible with this plugin (Google Plus Photos), but it is unwise to rely on that being the case. If image editing is essential to your application, consider seeking a third party library or plugin that provides its own image editing utility for a more robust solution.</p></li>
+<li><p><code>Camera.PictureSourceType.PHOTOLIBRARY</code> and <code>Camera.PictureSourceType.SAVEDPHOTOALBUM</code> both display the same photo album.</p></li>
+<li><p>Ignores the <code>encodingType</code> parameter if the image is unedited (i.e. <code>quality</code> is 100, <code>correctOrientation</code> is false, and no <code>targetHeight</code> or <code>targetWidth</code> are specified). The <code>CAMERA</code> source will always return the JPEG file given by the native camera and the <code>PHOTOLIBRARY</code> and <code>SAVEDPHOTOALBUM</code> sources will return the selected file in its existing encoding.</p></li>
 </ul>
 
 <h4>BlackBerry 10 Quirks</h4>
 
 <ul>
-<li><p>Ignores the <code class="prettyprint">quality</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">allowEdit</code> parameter.</p></li>
-<li><p><code class="prettyprint">Camera.MediaType</code> is not supported.</p></li>
-<li><p>Ignores the <code class="prettyprint">correctOrientation</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">cameraDirection</code> parameter.</p></li>
+<li><p>Ignores the <code>quality</code> parameter.</p></li>
+<li><p>Ignores the <code>allowEdit</code> parameter.</p></li>
+<li><p><code>Camera.MediaType</code> is not supported.</p></li>
+<li><p>Ignores the <code>correctOrientation</code> parameter.</p></li>
+<li><p>Ignores the <code>cameraDirection</code> parameter.</p></li>
 </ul>
 
 <h4>Firefox OS Quirks</h4>
 
 <ul>
-<li><p>Ignores the <code class="prettyprint">quality</code> parameter.</p></li>
-<li><p><code class="prettyprint">Camera.DestinationType</code> is ignored and equals <code class="prettyprint">1</code> (image file URI)</p></li>
-<li><p>Ignores the <code class="prettyprint">allowEdit</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">PictureSourceType</code> parameter (user chooses it in a dialog window)</p></li>
-<li><p>Ignores the <code class="prettyprint">encodingType</code></p></li>
-<li><p>Ignores the <code class="prettyprint">targetWidth</code> and <code class="prettyprint">targetHeight</code></p></li>
-<li><p><code class="prettyprint">Camera.MediaType</code> is not supported.</p></li>
-<li><p>Ignores the <code class="prettyprint">correctOrientation</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">cameraDirection</code> parameter.</p></li>
+<li><p>Ignores the <code>quality</code> parameter.</p></li>
+<li><p><code>Camera.DestinationType</code> is ignored and equals <code>1</code> (image file URI)</p></li>
+<li><p>Ignores the <code>allowEdit</code> parameter.</p></li>
+<li><p>Ignores the <code>PictureSourceType</code> parameter (user chooses it in a dialog window)</p></li>
+<li><p>Ignores the <code>encodingType</code></p></li>
+<li><p>Ignores the <code>targetWidth</code> and <code>targetHeight</code></p></li>
+<li><p><code>Camera.MediaType</code> is not supported.</p></li>
+<li><p>Ignores the <code>correctOrientation</code> parameter.</p></li>
+<li><p>Ignores the <code>cameraDirection</code> parameter.</p></li>
 </ul>
 
 <h4>iOS Quirks</h4>
 
 <ul>
-<li><p>When using <code class="prettyprint">destinationType.FILE_URI</code>, photos are saved in the application&#39;s temporary directory. The contents of the application&#39;s temporary directory is deleted when the application ends.</p></li>
-<li><p>When using <code class="prettyprint">destinationType.NATIVE_URI</code> and <code class="prettyprint">sourceType.CAMERA</code>, photos are saved in the saved photo album regardless on the value of <code class="prettyprint">saveToPhotoAlbum</code> parameter.</p></li>
+<li><p>When using <code>destinationType.FILE_URI</code>, photos are saved in the application&#39;s temporary directory. The contents of the application&#39;s temporary directory is deleted when the application ends.</p></li>
+<li><p>When using <code>destinationType.NATIVE_URI</code> and <code>sourceType.CAMERA</code>, photos are saved in the saved photo album regardless on the value of <code>saveToPhotoAlbum</code> parameter.</p></li>
 </ul>
 
 <h4>Tizen Quirks</h4>
@@ -3467,11 +3615,12 @@ via Zune does not work, and triggers an
 <h4>Windows Phone 7 and 8 Quirks</h4>
 
 <ul>
-<li><p>Ignores the <code class="prettyprint">allowEdit</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">correctOrientation</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">cameraDirection</code> parameter.</p></li>
-<li><p>Ignores the <code class="prettyprint">saveToPhotoAlbum</code> parameter.  IMPORTANT: All images taken with the WP8/8 Cordova camera API are always copied to the phone&#39;s camera roll.  Depending on the user&#39;s settings, this could also mean the image is auto-uploaded to their OneDrive.  This could potentially mean the image is available to a wider audience than your app intended. If this is a blocker for your application, you will need to implement the CameraCaptureTask as <a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx">documented on MSDN</a>. You may also comment or up-vote the related issue in the <a href="https://issues.apache.org/jira/browse/CB-2083">issue tracker</a>.</p></li>
-<li><p>Ignores the <code class="prettyprint">mediaType</code> property of <code class="prettyprint">cameraOptions</code> as the Windows Phone SDK does not provide a way to choose videos from PHOTOLIBRARY.</p></li>
+<li><p>Ignores the <code>allowEdit</code> parameter.</p></li>
+<li><p>Ignores the <code>correctOrientation</code> parameter.</p></li>
+<li><p>Ignores the <code>cameraDirection</code> parameter.</p></li>
+<li><p>Ignores the <code>saveToPhotoAlbum</code> parameter.  IMPORTANT: All images taken with the wp7/8 cordova camera API are always copied to the phone&#39;s camera roll.  Depending on the user&#39;s settings, this could also mean the image is auto-uploaded to their OneDrive.  This could potentially mean the image is available to a wider audience than your app intended.  If this a blocker for your application, you will need to implement the CameraCaptureTask as documented on msdn : <a href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx">http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx</a>
+You may also comment or up-vote the related issue in the <a href="https://issues.apache.org/jira/browse/CB-2083">issue tracker</a></p></li>
+<li><p>Ignores the <code>mediaType</code> property of <code>cameraOptions</code> as the Windows Phone SDK does not provide a way to choose videos from PHOTOLIBRARY.</p></li>
 </ul>
 
 
@@ -3553,7 +3702,6 @@ via Zune does not work, and triggers an
     </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>
 

Modified: cordova/site/public/docs/en/dev/cordova-plugin-console/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/cordova-plugin-console/index.html?rev=1736375&r1=1736374&r2=1736375&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/cordova-plugin-console/index.html (original)
+++ cordova/site/public/docs/en/dev/cordova-plugin-console/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,13 +870,13 @@
 
     <li>
         
-        <a class="this-page" href="../cordova-plugin-console/index.html">
+        <a class="" href="../reference/cordova-plugin-console/index.html">
             Console
         </a>
         
 
         
-        <div id="page-toc" class="page-toc"></div>
+        
 
         
     </li>
@@ -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,7 +904,7 @@
 
     <li>
         
-        <a class="" href="../cordova-plugin-device/index.html">
+        <a class="" href="../reference/cordova-plugin-device/index.html">
             Device
         </a>
         
@@ -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="this-page" 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="" 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-console/blob/1.0.2/README.md"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a>
 
-            <a class="edit" href="https://github.com/apache/cordova-plugin-console/blob/1.0.2/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-console/index.html">
+                        <a href="/docs/en/latest/cordova-plugin-console/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>
                         
                         
+                            
+                        
+
+                        
+                        
 
                         
 
@@ -2692,17 +2840,17 @@ It adds additional function for iOS, Ubu
 you are happy with how console.log() works for you, then you probably
 don&#39;t need this plugin.</p>
 
-<p>This plugin defines a global <code class="prettyprint">console</code> object.</p>
+<p>This plugin defines a global <code>console</code> object.</p>
 
 <p>Although the object is in the global scope, features provided by this plugin
-are 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);
+are 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(&quot;console.log works well&quot;);
+    console.log("console.log works well");
 }
 </code></pre></div>
 <h2>Installation</h2>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add cordova-plugin-console
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-console
 </code></pre></div>
 <h3>Android Quirks</h3>
 
@@ -2713,47 +2861,47 @@ This plugin is not the cause of that, it
 
 <h2>Supported Methods</h2>
 
-<p>The plugin support following methods of the <code class="prettyprint">console</code> object:</p>
+<p>The plugin support following methods of the <code>console</code> object:</p>
 
 <ul>
-<li><code class="prettyprint">console.log</code></li>
-<li><code class="prettyprint">console.error</code></li>
-<li><code class="prettyprint">console.exception</code></li>
-<li><code class="prettyprint">console.warn</code></li>
-<li><code class="prettyprint">console.info</code></li>
-<li><code class="prettyprint">console.debug</code></li>
-<li><code class="prettyprint">console.assert</code></li>
-<li><code class="prettyprint">console.dir</code></li>
-<li><code class="prettyprint">console.dirxml</code></li>
-<li><code class="prettyprint">console.time</code></li>
-<li><code class="prettyprint">console.timeEnd</code></li>
-<li><code class="prettyprint">console.table</code></li>
+<li><code>console.log</code></li>
+<li><code>console.error</code></li>
+<li><code>console.exception</code></li>
+<li><code>console.warn</code></li>
+<li><code>console.info</code></li>
+<li><code>console.debug</code></li>
+<li><code>console.assert</code></li>
+<li><code>console.dir</code></li>
+<li><code>console.dirxml</code></li>
+<li><code>console.time</code></li>
+<li><code>console.timeEnd</code></li>
+<li><code>console.table</code></li>
 </ul>
 
 <h2>Partially supported Methods</h2>
 
-<p>Methods of the <code class="prettyprint">console</code> object which implemented, but behave different from browser implementation:</p>
+<p>Methods of the <code>console</code> object which implemented, but behave different from browser implementation:</p>
 
 <ul>
-<li><code class="prettyprint">console.group</code></li>
-<li><code class="prettyprint">console.groupCollapsed</code></li>
+<li><code>console.group</code></li>
+<li><code>console.groupCollapsed</code></li>
 </ul>
 
 <p>The grouping methods are just log name of the group and don&#39;t actually indicate grouping for later 
-calls to <code class="prettyprint">console</code> object methods.</p>
+calls to <code>console</code> object methods.</p>
 
 <h2>Not supported Methods</h2>
 
-<p>Methods of the <code class="prettyprint">console</code> object which are implemented, but do nothing:</p>
+<p>Methods of the <code>console</code> object which are implemented, but do nothing:</p>
 
 <ul>
-<li><code class="prettyprint">console.clear</code></li>
-<li><code class="prettyprint">console.trace</code></li>
-<li><code class="prettyprint">console.groupEnd</code></li>
-<li><code class="prettyprint">console.timeStamp</code></li>
-<li><code class="prettyprint">console.profile</code></li>
-<li><code class="prettyprint">console.profileEnd</code></li>
-<li><code class="prettyprint">console.count</code></li>
+<li><code>console.clear</code></li>
+<li><code>console.trace</code></li>
+<li><code>console.groupEnd</code></li>
+<li><code>console.timeStamp</code></li>
+<li><code>console.profile</code></li>
+<li><code>console.profileEnd</code></li>
+<li><code>console.count</code></li>
 </ul>
 
 <h2>Supported formatting</h2>
@@ -2763,14 +2911,14 @@ calls to <code class="prettyprint">conso
 <p>Format chars:</p>
 
 <ul>
-<li> <code class="prettyprint">%j</code> - format arg as JSON</li>
-<li> <code class="prettyprint">%o</code> - format arg as JSON</li>
-<li> <code class="prettyprint">%c</code> - format arg as <code class="prettyprint">&#39;&#39;</code>. No color formatting could be done.</li>
-<li> <code class="prettyprint">%%</code> - replace with <code class="prettyprint">&#39;%&#39;</code></li>
+<li> <code>%j</code> - format arg as JSON</li>
+<li> <code>%o</code> - format arg as JSON</li>
+<li> <code>%c</code> - format arg as <code>&#39;&#39;</code>. No color formatting could be done.</li>
+<li> <code>%%</code> - replace with <code>&#39;%&#39;</code></li>
 </ul>
 
-<p>any other char following <code class="prettyprint">%</code> will format it&#39;s
-arg via <code class="prettyprint">toString()</code>.</p>
+<p>any other char following <code>%</code> will format it&#39;s
+arg via <code>toString()</code>.</p>
 
 
         </div>
@@ -2851,7 +2999,6 @@ arg via <code class="prettyprint">toStri
     </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


Mime
View raw message