You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2013/10/01 05:56:01 UTC

svn commit: r1527865 [24/25] - in /cordova/site/public/docs/en/3.1.0: ./ img/ img/guide/ img/guide/cli/ img/guide/platforms/ img/guide/platforms/android/ img/guide/platforms/bada/ img/guide/platforms/blackberry10/ img/guide/platforms/ios/ img/guide/pla...

Added: cordova/site/public/docs/en/3.1.0/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/index.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/index.html (added)
+++ cordova/site/public/docs/en/3.1.0/index.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,233 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Home</h1>
+            <small></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <div id="home">
+
+    <h1><a name="Guides">Guides</a></h1>
+    <ul>
+<li>
+            <h2><a href="guide_overview_index.md.html#Overview">Overview</a></h2>
+            <span>Start here if you are new to Cordova.</span>
+        </li>
+        <li>
+            <h2><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></h2>
+            <span>Create, build, and deploy from the command-line.</span>
+        </li>
+        <li>
+            <h2><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></h2>
+            <span>Set up each SDK and update projects</span>
+        </li>
+        <li>
+            <h2><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></h2>
+            <span>Customize the features of your app.</span>
+        </li>
+        <li>
+            <h2><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></h2>
+            <span>Implement the Cordova WebView in your project.</span>
+        </li>
+        <li>
+            <h2><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></h2>
+            <span>Develop your first plugin.</span>
+        </li>
+        <li>
+            <h2><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></h2>
+            <span>Learn about important mobile privacy issues.</span>
+        </li>
+        <li>
+            <h2><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></h2>
+            <span>Grant an application access to external domains.</span>
+        </li>
+        <li>
+            <h2><a href="_index.html">Keyword Index</a></h2>
+            <span>Full index of the documentation.</span>
+        </li>
+    </ul>
+<h1><a name="API%20Reference">API Reference</a></h1>
+    <ul>
+<li>
+            <h2><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></h2>
+            <span>Tap into the device's motion sensor.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_camera_camera.md.html#Camera">Camera</a></h2>
+            <span><a href="cordova_media_capture_capture.md.html#Capture">Capture</a> a photo using the device's camera.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></h2>
+            <span><a href="cordova_media_capture_capture.md.html#Capture">Capture</a> media files using device's media capture applications.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_compass_compass.md.html#Compass">Compass</a></h2>
+            <span>Obtain the direction that the device is pointing.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_connection_connection.md.html#Connection">Connection</a></h2>
+            <span>Quickly check the network state, and cellular network information.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></h2>
+            <span>Work with the devices contact database.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_device_device.md.html#Device">Device</a></h2>
+            <span>Gather device specific information.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_events_events.md.html#Events">Events</a></h2>
+            <span>Hook into native events through JavaScript.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_file_file.md.html#File">File</a></h2>
+            <span>Hook into native file system through JavaScript.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></h2>
+            <span>Make your application location aware.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></h2>
+            <span>Enable representation of objects specific to a locale.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></h2>
+            <span>Launch URLs in another in-app browser instance.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_media_media.md.html#Media">Media</a></h2>
+            <span>Record and play back audio files.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_notification_notification.md.html#Notification">Notification</a></h2>
+            <span>Visual, audible, and tactile device notifications.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></h2>
+            <span>Show and hide the applications splash screen.</span>
+        </li>
+        <li>
+            <h2><a href="cordova_storage_storage.md.html#Storage">Storage</a></h2>
+            <span>Hook into the devices native storage options.</span>
+        </li>
+    </ul>
+</div>
+
+            </div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/index.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/index.js (added)
+++ cordova/site/public/docs/en/3.1.0/index.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,74 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+//
+// Google Analytics
+//
+var _gaq = _gaq || [];
+_gaq.push(['_setAccount', 'UA-94271-11']);
+_gaq.push(['_setDomainName', '.phonegap.com']);
+_gaq.push(['_trackPageview']);
+
+(function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0];
+    s.parentNode.insertBefore(ga, s);
+})();
+
+//
+// Syntax Highlighting
+//
+(function() {
+    window.addEventListener('load', function() {
+        prettyPrint();
+    }, false);
+})();
+
+//
+// Version and Language <select>
+//
+(function() {
+    window.addEventListener('load', function() {
+        document.getElementById('header').getElementsByTagName('select')[0].addEventListener('change', function(e) {
+            var $select     = this.options[this.selectedIndex];
+            var version     = $select.value;
+            var language    = $select.parentElement.getAttribute('value');
+            var currentFile = (window.location.href.match(/\/[^\/]*$/) || ['/index.html'])[0];
+
+            // Uncomment to also jump to the same page. However, the server should handle missing page
+            // window.location.href = '../../' + language + '/' + version + currentFile;
+            window.location.href = '../../' + language + '/' + version + '/index.html';
+        }, false);
+    }, false);
+})();
+
+//
+// API <select>
+//
+(function() {
+    window.addEventListener('load', function() {
+        var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
+        if (!$select) return;
+        
+        $select.addEventListener('change', function(e) {
+            document.location = '#' + this.options[this.selectedIndex].value;
+        }, false);
+    }, false);
+})();

Added: cordova/site/public/docs/en/3.1.0/line.png
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/line.png?rev=1527865&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cordova/site/public/docs/en/3.1.0/line.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: cordova/site/public/docs/en/3.1.0/mobile.css
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/mobile.css?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/mobile.css (added)
+++ cordova/site/public/docs/en/3.1.0/mobile.css Tue Oct  1 03:55:57 2013
@@ -0,0 +1,139 @@
+/*
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+*/
+
+body {
+  margin:0px;
+  padding:0px;
+}
+
+#header {
+  position:static;
+}
+
+#header h1 {
+  margin:0px;
+  text-align:center;
+}
+
+#subheader {
+  position:static;
+  text-align:center;
+}
+
+#subheader h1 {
+  display:none;
+}
+
+#subheader small {
+  position:static;
+}
+
+#sidebar {
+  display:none;
+}
+
+#scrollable {
+  position:static;
+}
+
+#content {
+  margin:0px;
+  max-width:none;
+  padding:10px;
+  position:static;
+}
+
+#home,
+#index {
+  margin:0px 10px;
+}
+
+#home h1,
+#index h2 {
+  border:none;
+  color:#CCCCCC;
+  font-size:20px;
+  font-weight:bold;
+  margin:10px 0px;
+  padding:0px;
+  text-shadow:#FFFFFF 0px 1px 0px;
+}
+
+#home h2 a,
+#index ul li a {
+  text-shadow:#FFFFFF 0px 1px 1px;
+}
+
+#home ul,
+#index ul {
+  background-color:#F9F9F9;
+  border:1px solid #CCCED0;
+  -moz-border-radius:6px;
+  -webkit-border-radius:6px;
+  border-radius:6px;
+  display:block;
+  margin:0px 0px 20px 0px;
+  padding:0px;
+  float:none;
+}
+
+#home ul li,
+#index ul li {
+  border-bottom:1px solid #CCCED0;
+  display:block;
+  float:none;
+  height:100%;
+  margin:0px;
+  padding:0px;
+  width:100%;
+}
+
+#home ul li:last-child,
+#index ul li:last-child {
+  border-bottom:none;
+}
+
+#home li h2 {
+  margin:0px;
+  padding:0px;
+}
+
+#home li h2 a,
+#index li a {
+  background:url(arrow.png) no-repeat 100% 50%;
+  color:#66686A;
+  display:block;
+  font-size:16px;
+  font-weight:normal;
+  margin:0px;
+  padding:10px 20px;
+}
+
+#home li span {
+  display:none;
+}
+
+#index {
+	-webkit-column-width: auto;
+	-webkit-column-rule-width: auto;
+	-moz-column-width: auto;
+	-moz-column-rule-width: auto;
+	column-width: auto;
+	column-rule-width: auto;
+}
\ No newline at end of file

Added: cordova/site/public/docs/en/3.1.0/plugin_ref_plugman.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/plugin_ref_plugman.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/plugin_ref_plugman.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/plugin_ref_plugman.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,208 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Using Plugman to Manage Plugins</h1>
+            <small><select><option value="Using%2520Plugman%2520to%2520Manage%2520Plugins">Using Plugman to Manage Plugins</option>
+<option value="Using%20Plugman%20to%20Manage%20Plugins_basic_commands">      - Basic Commands</option>
+<option value="Using%20Plugman%20to%20Manage%20Plugins_installing_core_plugins">      - Installing Core Plugins</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Using%20Plugman%20to%20Manage%20Plugins">Using Plugman to Manage Plugins</a></h1>
+
+<p>From version 3.0 onward, Cordova implements all device APIs as
+plugins, and leaves them disabled by default.  It also supports two
+different ways to add and remove plugins. The first is by using the
+<code>cordova</code> CLI described in <a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a>. The second is
+by using a lower-level
+<a class="external" href="https://github.com/apache/cordova-plugman/">plugman</a>
+command-line interface. This guide concentrates on the second
+approach, which may be useful for developers who want to upgrade their
+version of Cordova, but who haven't yet adopted the Cordova CLI in
+their workflow.</p>
+
+<p>For more information on plugman, see
+<a class="external" href="https://github.com/apache/cordova-plugman/blob/master/README.md">the README file in its repository</a>.</p>
+
+<h2>
+<a name="Using%20Plugman%20to%20Manage%20Plugins_basic_commands">Basic Commands</a>
+</h2>
+
+<p>To install plugman, you must have <a class="external" href="http://nodejs.org/">node</a> installed
+on your machine:</p>
+
+<pre class="prettyprint"><code>npm install -g plugman
+</code></pre>
+
+<p>Here is the syntax to add a plugin for each platform:</p>
+
+<pre class="prettyprint"><code>plugman --platform &lt;ios|android|blackberry10|wp7|wp8&gt; --project &lt;directory&gt; --plugin &lt;name|url|path&gt; [--plugins_dir &lt;directory&gt;] [--www &lt;directory&gt;] [--variable &lt;name&gt;=&lt;value&gt; [--variable &lt;name&gt;=&lt;value&gt; ...]]
+</code></pre>
+
+<p>To uninstall a plugin:</p>
+
+<pre class="prettyprint"><code>plugman --uninstall --platform &lt;ios|android|blackberry10|wp7|wp8&gt; --project &lt;directory&gt; --plugin &lt;id&gt; [--www &lt;directory&gt;] [--plugins_dir &lt;directory&gt;]
+</code></pre>
+
+<h2>
+<a name="Using%20Plugman%20to%20Manage%20Plugins_installing_core_plugins">Installing Core Plugins</a>
+</h2>
+
+<p>The examples below <a href="cordova_inappbrowser_inappbrowser.md.html#show">show</a> how to add plugins as needed so that any
+Cordova APIs you use in your project still work after you upgrade to
+version 3.0.  For each command, you need to select the target
+platform, and reference the platform's project directory.</p>
+
+<ul>
+<li><p>cordova-plugin-battery-status
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.battery-status</directory></ios></p></li>
+<li><p>cordova-plugin-camera
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.camera</directory></ios></p></li>
+<li><p>cordova-plugin-console
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.console</directory></ios></p></li>
+<li><p>cordova-plugin-contacts
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.contacts</directory></ios></p></li>
+<li><p>cordova-plugin-device
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.device</directory></ios></p></li>
+<li><p>cordova-plugin-device-motion (accelerometer)
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.device-motion</directory></ios></p></li>
+<li><p>cordova-plugin-device-orientation (compass)
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.device-orientation</directory></ios></p></li>
+<li><p>cordova-plugin-dialogs
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.dialogs</directory></ios></p></li>
+<li><p>cordova-plugin-file
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.file</directory></ios></p></li>
+<li><p>cordova-plugin-file-transfer
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.file-transfer</directory></ios></p></li>
+<li><p>cordova-plugin-geolocation
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.geolocation</directory></ios></p></li>
+<li><p>cordova-plugin-globalization
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.globalization</directory></ios></p></li>
+<li><p>cordova-plugin-inappbrowser
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.inappbrowser</directory></ios></p></li>
+<li><p>cordova-plugin-media
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.media</directory></ios></p></li>
+<li><p>cordova-plugin-media-capture
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.media-capture</directory></ios></p></li>
+<li><p>cordova-plugin-network-information
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.network-information</directory></ios></p></li>
+<li><p>cordova-plugin-splashscreen
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.splashscreen</directory></ios></p></li>
+<li><p>cordova-plugin-vibration
+plugman --platform <ios> --project <directory> --plugin org.apache.cordova.vibration</directory></ios></p></li>
+</ul>
+</div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/plugin_ref_spec.md.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/plugin_ref_spec.md.html?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/plugin_ref_spec.md.html (added)
+++ cordova/site/public/docs/en/3.1.0/plugin_ref_spec.md.html Tue Oct  1 03:55:57 2013
@@ -0,0 +1,790 @@
+<!DOCTYPE html>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+--><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
+<meta name="generator" content="joDoc">
+<title>Apache Cordova API Documentation</title>
+<link rel="stylesheet" type="text/css" href="index.css">
+<link rel="stylesheet" type="text/css" href="mobile.css" media="only screen and (max-device-width: 1024px)">
+<link rel="stylesheet" type="text/css" href="prettify/prettify.css">
+</head>
+<body>
+        <div id="header">
+            <h1><a href="index.html">Apache <strong>Cordova</strong> Documentation</a></h1>
+            <small>
+                <select><optgroup label="Chinese" value="zh"><option value="edge">edge</option></optgroup>
+<optgroup label="English" value="en">
+<option value="edge">edge</option>
+<option selected value="3.1.0">3.1.0</option>
+<option value="3.0.0">3.0.0</option>
+<option value="2.9.0">2.9.0</option>
+<option value="2.8.0">2.8.0</option>
+<option value="2.7.0">2.7.0</option>
+<option value="2.6.0">2.6.0</option>
+<option value="2.5.0">2.5.0</option>
+<option value="2.4.0">2.4.0</option>
+<option value="2.3.0">2.3.0</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.8.0">1.8.0</option>
+<option value="1.7.0">1.7.0</option>
+<option value="1.6.1">1.6.1</option>
+<option value="1.6.0">1.6.0</option>
+<option value="1.5.0">1.5.0</option>
+</optgroup>
+<optgroup label="French" value="fr"><option value="edge">edge</option></optgroup>
+<optgroup label="German" value="de"><option value="edge">edge</option></optgroup>
+<optgroup label="Italian" value="it"><option value="edge">edge</option></optgroup>
+<optgroup label="Japanese" value="ja">
+<option value="edge">edge</option>
+<option value="2.2.0">2.2.0</option>
+<option value="2.1.0">2.1.0</option>
+<option value="2.0.0">2.0.0</option>
+<option value="1.9.0">1.9.0</option>
+<option value="1.8.1">1.8.1</option>
+<option value="1.7.0">1.7.0</option>
+</optgroup>
+<optgroup label="Korean" value="ko">
+<option value="edge">edge</option>
+<option value="2.0.0">2.0.0</option>
+</optgroup>
+<optgroup label="Russian" value="ru"><option value="edge">edge</option></optgroup>
+<optgroup label="Spanish" value="es"><option value="edge">edge</option></optgroup></select></small>
+        </div>
+        <div id="subheader">
+            <h1>Plugin Specification</h1>
+            <small><select><option value="Plugin%2520Specification">Plugin Specification</option>
+<option value="Plugin%20Specification_plugin_element">      - 
+&lt;plugin&gt; element</option>
+<option value="Plugin%20Specification_engines_and_engine_elements">      - 
+&lt;engines&gt; and &lt;engine&gt; elements</option>
+<option value="Plugin%20Specification_name_element">      - 
+&lt;name&gt; element</option>
+<option value="Plugin%20Specification_description_element">      - 
+&lt;description&gt; element</option>
+<option value="Plugin%20Specification_author_element">      - 
+&lt;author&gt; element</option>
+<option value="Plugin%20Specification_keywords_element">      - 
+&lt;keywords&gt; element</option>
+<option value="Plugin%20Specification_license_element">      - 
+&lt;license&gt; element</option>
+<option value="Plugin%20Specification_asset_element">      - 
+&lt;asset&gt; element</option>
+<option value="Plugin%20Specification_js_module_element">      - 
+&lt;js-module&gt; element</option>
+<option value="Plugin%20Specification_dependency">      - &lt;dependency&gt;</option>
+<option value="Plugin%20Specification_platform">      - &lt;platform&gt;</option>
+<option value="Plugin%20Specification_source_file">      - &lt;source-file&gt;</option>
+<option value="Plugin%20Specification_config_file">      - &lt;config-file&gt;</option>
+<option value="Plugin%20Specification_plugins_plist">      - &lt;plugins-plist&gt;</option>
+<option value="Plugin%20Specification_resource_file_and_header_file">      - 
+&lt;resource-file&gt; and &lt;header-file&gt;
+</option>
+<option value="Plugin%20Specification_lib_file">      - &lt;lib-file&gt;</option>
+<option value="Plugin%20Specification_framework">      - &lt;framework&gt;</option>
+<option value="Plugin%20Specification_info">      - &lt;info&gt;</option>
+<option value="Variables">Variables</option>
+<option value="Variables_package_name">      - $PACKAGE_NAME</option></select></small>
+        </div>
+
+        <div id="sidebar">
+            <div class="vertical_divider"></div>
+        <h1>Guides</h1>
+<ul>
+<li><a href="guide_overview_index.md.html#Overview">Overview</a></li>
+<li><a href="guide_cli_index.md.html#The%20Command-line%20Interface">The Command-line Interface</a></li>
+<li><a href="guide_platforms_index.md.html#Platform%20Guides">Platform Guides</a></li>
+<li><a href="config_ref_index.md.html#The%20config.xml%20File">The config.xml File</a></li>
+<li><a href="guide_hybrid_webviews_index.md.html#Embedding%20WebViews">Embedding WebViews</a></li>
+<li><a href="guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide">Plugin Development Guide</a></li>
+<li><a href="guide_appdev_privacy_index.md.html#Privacy%20Guide">Privacy Guide</a></li>
+<li><a href="guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide">Domain Whitelist Guide</a></li>
+<li><a href="_index.html">Keyword Index</a></li>
+</ul>
+<h1>API Reference</h1>
+<ul>
+<li><a href="cordova_accelerometer_accelerometer.md.html#Accelerometer">Accelerometer</a></li>
+<li><a href="cordova_camera_camera.md.html#Camera">Camera</a></li>
+<li><a href="cordova_media_capture_capture.md.html#Capture">Capture</a></li>
+<li><a href="cordova_compass_compass.md.html#Compass">Compass</a></li>
+<li><a href="cordova_connection_connection.md.html#Connection">Connection</a></li>
+<li><a href="cordova_contacts_contacts.md.html#Contacts">Contacts</a></li>
+<li><a href="cordova_device_device.md.html#Device">Device</a></li>
+<li><a href="cordova_events_events.md.html#Events">Events</a></li>
+<li><a href="cordova_file_file.md.html#File">File</a></li>
+<li><a href="cordova_geolocation_geolocation.md.html#Geolocation">Geolocation</a></li>
+<li><a href="cordova_globalization_globalization.md.html#Globalization">Globalization</a></li>
+<li><a href="cordova_inappbrowser_inappbrowser.md.html#InAppBrowser">InAppBrowser</a></li>
+<li><a href="cordova_media_media.md.html#Media">Media</a></li>
+<li><a href="cordova_notification_notification.md.html#Notification">Notification</a></li>
+<li><a href="cordova_splashscreen_splashscreen.md.html#Splashscreen">Splashscreen</a></li>
+<li><a href="cordova_storage_storage.md.html#Storage">Storage</a></li>
+</ul>
+</div>
+
+        <div id="scrollable">
+            <div id="content">
+                <h1><a name="Plugin%20Specification">Plugin Specification</a></h1>
+
+<p>The <code>plugin.xml</code> file is an XML document in the <code>plugins</code> namespace:
+<code>http://apache.org/cordova/ns/plugins/1.0</code>. It contains a top-level
+<code>plugin</code> element that defines the plugin, and children that define the
+structure of the plugin.</p>
+
+<p>A sample plugin element:</p>
+
+<pre class="prettyprint"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    id="com.alunny.foo"
+    version="1.0.2"&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_plugin_element">
+&lt;plugin&gt; element</a>
+</h2>
+
+<p>The <code>plugin</code> element is the plugin manifest's top-level element. It
+features the following attributes:</p>
+
+<ul>
+<li><p><code>xmlns</code> (required):
+The plugin namespace, <code>http://apache.org/cordova/ns/plugins/1.0</code>. If
+the document contains XML from other namespaces, such as tags to be
+added to the <code>AndroidManifest.xml</code> file, those namespaces should
+also be included in the top-level element.</p></li>
+<li><p><code>id</code> (required):
+A reverse-domain style identifier for the plugin, such as
+<code>com.alunny.foo</code></p></li>
+<li>
+<p><code>version</code> (required):
+A version number for the plugin, that matches the following
+major-minor-patch style regular expression:</p>
+
+<pre class="prettyprint"><code>^\d+[.]\d+[.]\d+$
+</code></pre>
+</li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_engines_and_engine_elements">
+&lt;engines&gt; and &lt;engine&gt; elements</a>
+</h2>
+
+<p>The child elements of the <code>&lt;engines&gt;</code> element specify versions of
+Apache Cordova-based frameworks that this plugin supports. An example:</p>
+
+<pre class="prettyprint"><code>&lt;engines&gt;
+    &lt;engine name="cordova" version="1.7.0" /&gt;
+    &lt;engine name="cordova" version="1.8.1" /&gt;
+    &lt;engine name="worklight" version="1.0.0" platform="android" scriptSrc="worklight_version"/&gt;
+&lt;/engines&gt;
+</code></pre>
+
+<p>Similar to the <code>&lt;plugin&gt;</code> element's <code>version</code> attribute, the specified
+version string should match a major-minor-patch string conforming to
+the regular expression:</p>
+
+<pre class="prettyprint"><code>    ^\d+[.]\d+[.]\d+$
+</code></pre>
+
+<p>Engine elements may also specify fuzzy matches to avoid repetition,
+and to reduce maintenance when the underlying platform is updated.
+Tools should support a minimum of <code>&gt;</code>, <code>&gt;=</code>, <code>&lt;</code> and <code>&lt;=</code>, for
+example:</p>
+
+<pre class="prettyprint"><code>&lt;engines&gt;
+    &lt;engine name="cordova" version="&gt;=1.7.0" /&gt;
+    &lt;engine name="cordova" version="&lt;1.8.1" /&gt;
+&lt;/engines&gt;
+</code></pre>
+
+<p>The '<engine>' tags also has default support for all of the main platforms Cordova exists on. 
+Specifying the 'cordova' engine tag means that all versions of Cordova on any platform must
+satisfy the engine version attribute. You may also list specific platforms and their versions
+in order to override the catch-all 'cordova' engine:</engine></p>
+
+<pre class="prettyprint"><code>&lt;engines&gt;
+    &lt;engine name="cordova" version="&gt;=1.7.0" /&gt;
+    &lt;engine name="cordova-android" version="&gt;=1.8.0" /&gt;
+    &lt;engine name="cordova-ios" version="&gt;=1.7.1" /&gt;
+&lt;/engines&gt;
+</code></pre>
+
+<p>Here's a list of the default engines that the '<engine>' tag supports:
+    * 'cordova' 
+    * 'cordova-plugman' 
+    * 'cordova-android'
+    * 'cordova-ios'
+    * 'cordova-blackberry10' 
+    * 'cordova-wp7'
+    * 'cordova-wp8'
+    * 'cordova-windows8'  </engine></p>
+
+<p>Specifying custom Apache Cordova-based frameworks should be listed under the engine tag like so:</p>
+
+<pre class="prettyprint"><code>&lt;engines&gt;
+    &lt;engine name="my_custom_framework" version="1.0.0" platform="android" scriptSrc="path_to_my_custom_framework_version"/&gt;
+    &lt;engine name="another_framework" version="&gt;0.2.0" platform="ios|android" scriptSrc="path_to_another_framework_version"/&gt;
+    &lt;engine name="even_more_framework" version="&gt;=2.2.0" platform="*" scriptSrc="path_to_even_more_framework_version"/&gt;
+&lt;/engines&gt;
+</code></pre>
+
+<p>A custom Apache Cordova-based framework requires that an engine element includes the following attributes: 
+'name', 'version', 'scriptSrc', and 'platform'. </p>
+
+<ul>
+<li><p><code>name</code> (required): A human-readable name for your custom framework. </p></li>
+<li><p><code>version</code> (required): The version that your framework must have in order to install.</p></li>
+<li><p><code>scriptSrc</code> (required): The script file that tells plugman what version of the custom framework is. 
+Ideally, this file should be within the top level directory of your plugin directory.</p></li>
+<li><p><code>platform</code> (required): Which platforms that your framework supports. You may use the wildcard '*'
+to say supported for all platforms, specify multiple with a pipe character like 'android|ios|blackberry10' 
+or just a single platform like 'android'.</p></li>
+</ul>
+<p>plugman aborts with a non-zero code for any plugin whose target
+project does not meet the engine's constraints.</p>
+
+<p>If no <code>&lt;engine&gt;</code> tags are specified, plugman attempts to install into
+the specified cordova project directory blindly.</p>
+
+<h2>
+<a name="Plugin%20Specification_name_element">
+&lt;name&gt; element</a>
+</h2>
+
+<p>A human-readable name for the plugin, whose text content contains the
+name of the plugin. For example:</p>
+
+<pre class="prettyprint"><code>&lt;name&gt;Foo&lt;/name&gt;
+</code></pre>
+
+<p>This element does not (yet) handle localization.</p>
+
+<h2>
+<a name="Plugin%20Specification_description_element">
+&lt;description&gt; element</a>
+</h2>
+
+<p>A human-readable description for the plugin. The text content of the element contains
+the description of the plugin. An example:</p>
+
+<pre class="prettyprint"><code>&lt;description&gt;Foo plugin description&lt;/description&gt;
+</code></pre>
+
+<p>This element does not (yet) handle localization.</p>
+
+<h2>
+<a name="Plugin%20Specification_author_element">
+&lt;author&gt; element</a>
+</h2>
+
+<p>Plugin author name. The text content of the element contains
+the name of the plugin author. An example:</p>
+
+<pre class="prettyprint"><code>&lt;author&gt;Foo plugin description&lt;/author&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_keywords_element">
+&lt;keywords&gt; element</a>
+</h2>
+
+<p>Plugin keywords. The text content of the element contains comma separated keywords to describe the plugin. An example:</p>
+
+<pre class="prettyprint"><code>&lt;keywords&gt;foo,bar&lt;/keywords&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_license_element">
+&lt;license&gt; element</a>
+</h2>
+
+<p>Plugin license. The text content of the element contains the plugin license. An example:</p>
+
+<pre class="prettyprint"><code>&lt;license&gt;Apache 2.0 License&lt;/license&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_asset_element">
+&lt;asset&gt; element</a>
+</h2>
+
+<p>One or more elements listing the files or directories to be copied
+into a Cordova app's <code>www</code> directory. Examples:</p>
+
+<pre class="prettyprint"><code>&lt;!-- a single file, to be copied in the root directory --&gt;
+&lt;asset src="www/foo.js" target="foo.js" /&gt;
+&lt;!-- a directory, also to be copied in the root directory --&gt;
+&lt;asset src="www/foo" target="foo" /&gt;
+</code></pre>
+
+<p>All <code>&lt;asset&gt;</code> tags require both <code>src</code> and <code>target</code> attributes.
+Web-only plugins contains mostly <code>&lt;asset&gt;</code> elements. Any <code>&lt;asset&gt;</code>
+elements that are nested within <code>&lt;platform&gt;</code> elements specify
+platform-specific web assets, as described below. Attributes include:</p>
+
+<ul>
+<li><p><code>src</code> (required): 
+Where the file or directory is located in the plugin package,
+relative to the <code>plugin.xml</code> document.  If a file does not exist at
+the specified <code>src</code> location, plugman stops and reverses the
+installation process, issues a notification about the conflict, and
+exits with a non-zero code.</p></li>
+<li>
+<p><code>target</code> (required):</p>
+
+<p>Where the file or directory should be located in the Cordova app,
+relative to the <code>www</code> directory.
+Assets can be targeted to subdirectories, for example:</p>
+
+<p><asset src="www/new-foo.js" target="js/experimental/foo.js"></asset></p>
+
+<p>creates the <code>js/experimental</code> directory within the <code>www</code> directory,
+unless already present, then copies the <code>new-foo.js</code> file and
+renames it <code>foo.js</code>.  If a file already exists at the target
+location, plugman stops and reverses the installation process,
+issues a notification about the conflict, and exits with a non-zero
+code.</p>
+</li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_js_module_element">
+&lt;js-module&gt; element</a>
+</h2>
+
+<p>Most plugins include one or more JavaScript files.  Each <code>&lt;js-module&gt;</code>
+tag corresponds to a JavaScript file, and prevents the plugin's users
+from having to add a <code>&lt;script&gt;</code> tag for each file.  While <code>&lt;asset&gt;</code>
+tags simply copy a file from the plugin subdirectory into <code>www</code>,
+<code>&lt;js-module&gt;</code> tags are much more sophisticated. They look like this:</p>
+
+<pre class="prettyprint"><code>&lt;js-module src="socket.js" name="Socket"&gt;
+    &lt;clobbers target="chrome.socket" /&gt;
+&lt;/js-module&gt;
+</code></pre>
+
+<p>When installing a plugin with the example above, <code>socket.js</code> is copied
+to <code>www/plugins/my.plugin.id/socket.js</code>, and added as an entry to
+<code>www/cordova_plugins.js</code>. At load time, code in <code>cordova.js</code> uses XHR
+to read each file and inject a <code>&lt;script&gt;</code> tag into HTML. It adds a
+mapping to clobber or merge as appropriate, as described below.</p>
+
+<p><em>Do not</em> wrap the file with <code>cordova.define</code>, as it is added
+automatically. The module is wrapped in a closure, with <code>module</code>,
+<code>exports</code>, and <code>require</code> in scope, as is normal for AMD modules.</p>
+
+<p>Details for the <code>&lt;js-module&gt;</code> tag:</p>
+
+<ul>
+<li><p>The <code>src</code> references a file in the plugin directory relative to the
+<code>plugin.xml</code> file.</p></li>
+<li><p>The <code>name</code> provides the last part of the module name. It can
+generally be whatever you like, and it only matters if you want to
+use <code>cordova.require</code> to import other parts of your plugins in your
+JavaScript code. The module name for a <code>&lt;js-module&gt;</code> is your
+plugin's <code>id</code> followed by the value of <code>name</code>. For the example
+above, with an <code>id</code> of <code>chrome.socket</code>, the module name is
+<code>chrome.socket.Socket</code>.</p></li>
+<li>
+<p>Three tags are allowed within <code>&lt;js-module&gt;</code>:</p>
+
+<ul>
+<li><p><code>&lt;clobbers target="some.value"/&gt;</code> indicates that the
+<code>module.exports</code> is inserted into the <code>window</code> object as
+<code>window.some.value</code>. You can have as many <code>&lt;clobbers&gt;</code> as you
+like. Any object not available on <code>window</code> is created.</p></li>
+<li><p><code>&lt;merges target="some.value"/&gt;</code> indicates that the module
+should be merged with any existing value at <code>window.some.value</code>.
+If any key already exists, the module's version overrides the
+original. You can have as many <code>&lt;merges&gt;</code> as you like. Any
+object not available on <code>window</code> is created.</p></li>
+<li><p><code>&lt;runs/&gt;</code> means that your code should be specified with
+<code>cordova.require</code>, but not installed on the <code>window</code>
+object. This is useful when initializing the module, attaching
+event handlers or otherwise. You can only have up to one
+<code>&lt;runs/&gt;</code> tag. Note that including a <code>&lt;runs/&gt;</code> with
+<code>&lt;clobbers/&gt;</code> or <code>&lt;merges/&gt;</code> is redundant, since they also
+<code>cordova.require</code> your module.</p></li>
+<li><p>An empty <code>&lt;js-module&gt;</code> still loads and can be acccessed in other
+modules via <code>cordova.require</code>.</p></li>
+</ul>
+</li>
+</ul>
+<p>If <code>src</code> does not resolve to an existing file, plugman stops and
+reverses the installation, issues a notification of the problem, and
+exits with a non-zero code.</p>
+
+<p>Nesting <code>&lt;js-module&gt;</code> elements within <code>&lt;platform&gt;</code> declares
+platform-specific JavaScript module bindings.</p>
+
+<h2>
+<a name="Plugin%20Specification_dependency">&lt;dependency&gt;</a>
+</h2>
+
+<p>The <code>&lt;dependency&gt;</code> tag allows you specify other plugins on which the
+current plugin depends. While future versions will access them from
+plugin repositories, in the short term plugins are directly referenced
+as URLs by <code>&lt;dependency&gt;</code> tags. They are formatted as follows:</p>
+
+<pre class="prettyprint"><code>&lt;dependency id="com.plugin.id" url="https://github.com/myuser/someplugin" commit="428931ada3891801" subdir="some/path/here" /&gt;
+</code></pre>
+
+<ul>
+<li><p><code>id</code>: provides the ID of the plugin. It should be globally unique,
+and expressed in reverse-domain style. While neither of these
+restrictions is currently enforced, they may be in the future.</p></li>
+<li><p><code>url</code>: A URL for the plugin. This should reference a git repository,
+which plugman attempts to clone.</p></li>
+<li><p><code>commit</code>: This is any git reference understood by <code>git checkout</code>: a
+branch or tag name (e.g., <code>master</code>, <code>0.3.1</code>), or a commit hash (e.g.,
+<code>975ddb228af811dd8bb37ed1dfd092a3d05295f9</code>).</p></li>
+<li><p><code>subdir</code>: Specifies that the targeted plugin dependency exists as a
+subdirectory of the git repository. This is helpful because it
+allows the repository to contain several related plugins, each
+specified individually.</p></li>
+</ul>
+<p>In the future, version constraints will be introduced, and a plugin
+repository will exist to support fetching by name instead of explicit
+URLs.</p>
+
+<h3>Relative Dependency Paths</h3>
+
+<p>If you set the <code>url</code> of a <code>&lt;dependency&gt;</code> tag to <code>"."</code> and provide a
+<code>subdir</code>, the dependent plugin is installed from the same local or
+remote git repository as the parent plugin that specifies the
+<code>&lt;dependency&gt;</code> tag.</p>
+
+<p>Note that the <code>subdir</code> always specifies a path relative to the <em>root</em>
+of the git repository, not the parent plugin. This is true even if you
+installed the plugin with a local path directly to it. Plugman finds
+the root of the git repository and then finds the other plugin from
+there.</p>
+
+<h2>
+<a name="Plugin%20Specification_platform">&lt;platform&gt;</a>
+</h2>
+
+<p>The <code>&lt;platform&gt;</code> tag identifies platforms that have associated native
+code or require modifications to their configuration files. Tools
+using this specification can identify supported platforms and install
+the code into Cordova projects.</p>
+
+<p>Plugins without <code>&lt;platform&gt;</code> tags are assumed to be JavaScript-only,
+and therefore installable on any and all platforms.</p>
+
+<p>A sample platform tag:</p>
+
+<pre class="prettyprint"><code>&lt;platform name="android"&gt;
+    &lt;!-- android-specific elements --&gt;
+&lt;/platform&gt;
+&lt;platform name="ios"&gt;
+    &lt;!-- ios-specific elements --&gt;
+&lt;/platform&gt;
+</code></pre>
+
+<p>The required <code>name</code> attribute identifies a platform as supported,
+associating the element's children with that platform.</p>
+
+<p>Platform names should be lowercase. Platform names, as arbitrarily
+chosen, are listed:</p>
+
+<ul>
+<li>android</li>
+<li>bb10</li>
+<li>ios</li>
+<li>wp7</li>
+<li>wp8</li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_source_file">&lt;source-file&gt;</a>
+</h2>
+
+<p>The <code>&lt;source-file&gt;</code> element identifies executable source code that
+should be installed into a project. Examples:</p>
+
+<pre class="prettyprint"><code>&lt;!-- android --&gt;
+&lt;source-file src="src/android/Foo.java"
+                target-dir="src/com/alunny/foo" /&gt;
+&lt;!-- ios --&gt;
+&lt;source-file src="src/ios/CDVFoo.m" /&gt;
+&lt;source-file src="src/ios/someLib.a" framework="true" /&gt;
+&lt;source-file src="src/ios/someLib.a" compiler-flags="-fno-objc-arc" /&gt;
+</code></pre>
+
+<p>It supports the following attributes:</p>
+
+<ul>
+<li><p><code>src</code> (required):
+Location of the file relative to <code>plugin.xml</code>.  If the <code>src</code> file
+cannot be found, plugman stops and reverses the installation, issues
+a notification about the problem, and exits with a non-zero code.</p></li>
+<li>
+<p><code>target-dir</code>:
+A directory into which the files should be copied, relative to the
+root of the Cordova project.  In practice, this is most important
+for Java-based platforms, where a file in the <code>com.alunny.foo</code>
+package must be located within the <code>com/alunny/foo</code> directory. For
+platforms where the source directory is not important, this
+attribute should be omitted.</p>
+
+<p>As with assets, if the <code>target</code> of a <code>source-file</code> would overwrite
+an existing file, plugman stops and reverses the installation,
+issues a notification about the problem, and exits with a non-zero
+code.</p>
+</li>
+<li><p><code>framework</code> (iOS only):
+If set to <code>true</code>, also adds the specified file as a framework to the
+project.</p></li>
+<li><p><code>compiler-flags</code> (iOS only):
+If set, assigns the specified compiler flags for the particular
+source file.</p></li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_config_file">&lt;config-file&gt;</a>
+</h2>
+
+<p>Identifies an XML-based configuration file to be modified, where in
+that document the modification should take place, and what should be
+modified.</p>
+
+<p>Two file types that have been tested for modification with this
+element are <code>xml</code> and <code>plist</code> files.</p>
+
+<p>The <code>config-file</code> element only allows you to append new children to an
+XML document tree. The children are XML literals to be inserted in the
+target document.</p>
+
+<p>Example for XML:</p>
+
+<pre class="prettyprint"><code>&lt;config-file target="AndroidManifest.xml" parent="/manifest/application"&gt;
+    &lt;activity android:name="com.foo.Foo" android:label="@string/app_name"&gt;
+        &lt;intent-filter&gt;
+        &lt;/intent-filter&gt;
+    &lt;/activity&gt;
+&lt;/config-file&gt;
+</code></pre>
+
+<p>Example for <code>plist</code>:</p>
+
+<pre class="prettyprint"><code>&lt;config-file target="*-Info.plist" parent="CFBundleURLTypes"&gt;
+    &lt;array&gt;
+        &lt;dict&gt;
+            &lt;key&gt;PackageName&lt;/key&gt;
+            &lt;string&gt;$PACKAGE_NAME&lt;/string&gt;
+        &lt;/dict&gt;
+    &lt;/array&gt;
+&lt;/config-file&gt;
+</code></pre>
+
+<p>It supports the following attributes:</p>
+
+<ul>
+<li>
+<p><code>target</code>:</p>
+
+<p>The file to be modified, and the path relative to the root of the
+Cordova project.</p>
+
+<p>The target can include wildcard (<code>*</code>) elements. In this case,
+plugman recursively searches through the project directory structure
+and uses the first match.</p>
+
+<p>On iOS, the location of configuration files relative to the project
+directory root is not known, so specifying a target of <code>config.xml</code>
+resolves to <code>cordova-ios-project/MyAppName/config.xml</code>.</p>
+
+<p>If the specified file does not exist, the tool ignores the
+configuration change and continues installation.</p>
+</li>
+<li>
+<p><code>parent</code>: An XPath selector referencing the parent of the elements
+to be added to the config file. If you use absolute selectors, you
+can use a wildcard (<code>*</code>) to specify the root element,
+e.g., <code>/*/plugins</code>.</p>
+
+<p>For <code>plist</code> files, the <code>parent</code> determines under what parent key the
+specified XML should be inserted.</p>
+
+<p>If the selector does not resolve to a child of the specified
+document, the tool stops and reverses the installation process,
+issues a warning, and exits with a non-zero code.</p>
+</li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_plugins_plist">&lt;plugins-plist&gt;</a>
+</h2>
+
+<p>This is <em>outdated</em> as it only applies to cordova-ios 2.2.0 and
+below. Use the <code>&lt;config-file&gt;</code> tag for newer versions of Cordova.</p>
+
+<p>Example:</p>
+
+<pre class="prettyprint"><code>&lt;config-file target="config.xml" parent="/widget/plugins"&gt;
+    &lt;feature name="ChildBrowser"&gt;
+        &lt;param name="ios-package" value="ChildBrowserCommand"/&gt;
+    &lt;/feature&gt;
+&lt;/config-file&gt;
+</code></pre>
+
+<p>Specifies a key and value to append to the correct <code>AppInfo.plist</code>
+file in an iOS Cordova project. For example:</p>
+
+<pre class="prettyprint"><code>&lt;plugins-plist key="Foo" string="CDVFoo" /&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_resource_file_and_header_file">
+&lt;resource-file&gt; and &lt;header-file&gt;
+</a>
+</h2>
+
+<p>Like source files, but specifically for platforms such as iOS that
+distinguish between source files, headers, and resources.  Examples:</p>
+
+<pre class="prettyprint"><code>&lt;resource-file src="CDVFoo.bundle" /&gt;
+&lt;resource-file src="CDVFooViewController.xib" /&gt;
+&lt;header-file src="CDVFoo.h" /&gt;
+</code></pre>
+
+<h2>
+<a name="Plugin%20Specification_lib_file">&lt;lib-file&gt;</a>
+</h2>
+
+<p>Like source, resource, and header files, but specifically for
+platforms such as BlackBerry 10 that use user-generated libraries.
+Examples:</p>
+
+<pre class="prettyprint"><code>&lt;lib-file src="src/BlackBerry10/native/device/libfoo.so" arch="device" /&gt;
+&lt;lib-file src="src/BlackBerry10/native/simulator/libfoo.so" arch="simulator" /&gt;
+</code></pre>
+
+<p>Supported attributes:</p>
+
+<ul>
+<li><p><code>src</code> (required):
+The location of the file relative to <code>plugin.xml</code>.
+If <code>src</code> cannot be found, plugman stops and reverses the
+installation, issues a warning about the problem, and exits with a
+non-zero code.</p></li>
+<li><p><code>arch</code>: The architecture for which the <code>.so</code> file has been built,
+either <code>device</code> or <code>simulator</code>.</p></li>
+</ul>
+<h2>
+<a name="Plugin%20Specification_framework">&lt;framework&gt;</a>
+</h2>
+
+<p>Identifies a framework (usually part of the OS/platform) on which the plugin depends.</p>
+
+<p>Examples:</p>
+
+<pre class="prettyprint"><code>&lt;framework src="libsqlite3.dylib" /&gt;
+&lt;framework src="social.framework" weak="true" /&gt;
+</code></pre>
+
+<p>The <code>src</code> attribute identifies the framework, which plugman attempts
+to add to the Cordova project, in the correct fashion for a given
+platform.</p>
+
+<p>The optional <code>weak</code> attribute is a boolean indicating whether the
+framework should be weakly linked. The default is <code>false</code>.</p>
+
+<h2>
+<a name="Plugin%20Specification_info">&lt;info&gt;</a>
+</h2>
+
+<p>Additional information provided to users. This is useful when you
+require extra steps that can't be easily automated or are beyond
+plugman's scope.  Examples:</p>
+
+<pre class="prettyprint"><code>&lt;info&gt;
+You need to install __Google Play Services__ from the `Android Extras` section using the Android SDK manager (run `android`).
+
+You need to add the following line to your `local.properties`
+
+android.library.reference.1=PATH_TO_ANDROID_SDK/sdk/extras/google/google_play_services/libproject/google-play-services_lib
+&lt;/info&gt;
+</code></pre>
+
+<h1><a name="Variables">Variables</a></h1>
+
+<p>In certain cases, a plugin may need to make configuration changes
+dependent on the target application. For example, to register for C2DM
+on Android, an app whose package id is <code>com.alunny.message</code> would
+require a permission such as:</p>
+
+<pre class="prettyprint"><code>&lt;uses-permission
+android:name="com.alunny.message.permission.C2D_MESSAGE"/&gt;
+</code></pre>
+
+<p>In such cases where the content inserted from the <code>plugin.xml</code> file is
+not known ahead of time, variables can be indicated by a dollar-sign
+followed by a series of capital letters, digits, or underscores. For
+the above example, the <code>plugin.xml</code> file would include this tag:</p>
+
+<pre class="prettyprint"><code>&lt;uses-permission
+android:name="$PACKAGE_NAME.permission.C2D_MESSAGE"/&gt;
+</code></pre>
+
+<p>plugman replaces variable references with the specified value, or the
+empty string if not found. The value of the variable reference may be
+detected (in this case, from the <code>AndroidManifest.xml</code> file) or
+specified by the user of the tool; the exact process is dependent on
+the particular tool.</p>
+
+<p>plugman can request users to specify a plugin's required
+variables. For example, API keys for C2M and Google Maps can be
+specified as a command-line argument:</p>
+
+<pre class="prettyprint"><code>plugman --platform android --project /path/to/project --plugin name|git-url|path --variable API_KEY=!@CFATGWE%^WGSFDGSDFW$%^#$%YTHGsdfhsfhyer56734
+</code></pre>
+
+<p>To make the variable mandatory, the <code>&lt;platform&gt;</code> tag needs to contain
+a <code>&lt;preference&gt;</code> tag. For example:</p>
+
+<pre class="prettyprint"><code>&lt;preference name="API_KEY" /&gt;
+</code></pre>
+
+<p>plugman checks that these required preferences are passed in.  If not,
+it should warn the user how to pass the variable in and exit with a
+non-zero code.</p>
+
+<p>Certain variable names should be reserved, as listed below.</p>
+
+<h2>
+<a name="Variables_package_name">$PACKAGE_NAME</a>
+</h2>
+
+<p>The reverse-domain style unique identifier for the package,
+corresponding to the <code>CFBundleIdentifier</code> on iOS or the <code>package</code>
+attribute of the top-level <code>manifest</code> element in an
+<code>AndroidManifest.xml</code> file.</p>
+
+            </div>
+        </div>
+
+        <!-- Functionality and Syntax Highlighting -->
+        <script type="text/javascript" src="index.js"></script><script type="text/javascript" src="prettify/prettify.js"></script>
+</body>
+</html>

Added: cordova/site/public/docs/en/3.1.0/prettify/LICENSE
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/LICENSE?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/LICENSE (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/LICENSE Tue Oct  1 03:55:57 2013
@@ -0,0 +1,191 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   Copyright 2011 Mike Samuel et al
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
\ No newline at end of file

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-apollo.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-apollo.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-apollo.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-apollo.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["com",/^#[^\r\n]*/,null,"#"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,
+null],["typ",/^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["apollo","agc","aea"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-apollo.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-css.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-css.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-css.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-css.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[ \t\r\n\f]+/,null," \t\r\n\u000c"]],[["str",/^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/,null],["str",/^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/,null],["lang-css-str",/^url\(([^\)\"\']*)\)/i],["kwd",/^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],
+["com",/^(?:<!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#(?:[0-9a-f]{3}){1,2}/i],["pln",/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],["pun",/^[^\s\w\'\"]+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^\)\"\']+/]]),["css-str"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-css.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-hs.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-hs.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-hs.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-hs.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\x0B\x0C\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^\"(?:[^\"\\\n\x0C\r]|\\[\s\S])*(?:\"|$)/,null,'"'],["str",/^\'(?:[^\'\\\n\x0C\r]|\\[^&])\'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+\-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:(?:--+(?:[^\r\n\x0C]*)?)|(?:\{-(?:[^-]|-+[^-\}])*-\}))/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^a-zA-Z0-9\']|$)/,
+null],["pln",/^(?:[A-Z][\w\']*\.)*[a-zA-Z][\w\']*/],["pun",/^[^\t\n\x0B\x0C\r a-zA-Z0-9\'\"]+/]]),["hs"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-hs.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-lisp.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-lisp.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-lisp.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-lisp.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(/,null,"("],["clo",/^\)/,null,")"],["com",/^;[^\r\n]*/,null,";"],["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/,null,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,
+null],["lit",/^[+\-]?(?:0x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i],["lit",/^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],["pln",/^-*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],["pun",/^[^\w\t\n\r \xA0()\"\\\';]+/]]),["cl","el","lisp","scm"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-lisp.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-lua.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-lua.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-lua.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-lua.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\s\S]*?(?:\]\1\]|$)|[^\r\n]*)/],["str",/^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],
+["pln",/^[a-z_]\w*/i],["pun",/^[^\w\t\n\r \xA0][^\w\t\n\r \xA0\"\'\-\+=]*/]]),["lua"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-lua.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-ml.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-ml.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-ml.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-ml.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["com",/^#(?:if[\t\n\r \xA0]+(?:[a-z_$][\w\']*|``[^\r\n\t`]*(?:``|$))|else|endif|light)/i,null,"#"],["str",/^(?:\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)|\'(?:[^\'\\]|\\[\s\S])*(?:\'|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\r\n]*|\(\*[\s\S]*?\*\))/],["kwd",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/],
+["lit",/^[+\-]?(?:0x[\da-f]+|(?:(?:\.\d+|\d+(?:\.\d*)?)(?:e[+\-]?\d+)?))/i],["pln",/^(?:[a-z_]\w*[!?#]?|``[^\r\n\t`]*(?:``|$))/i],["pun",/^[^\t\n\r \xA0\"\'\w]+/]]),["fs","ml"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-ml.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-proto.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-proto.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-proto.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-proto.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1 @@
+PR.registerLangHandler(PR.sourceDecorator({keywords:"bool bytes default double enum extend extensions false fixed32 fixed64 float group import int32 int64 max message option optional package repeated required returns rpc service sfixed32 sfixed64 sint32 sint64 string syntax to true uint32 uint64",cStyleComments:true}),["proto"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-proto.js
------------------------------------------------------------------------------
    svn:executable = *

Added: cordova/site/public/docs/en/3.1.0/prettify/lang-scala.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/3.1.0/prettify/lang-scala.js?rev=1527865&view=auto
==============================================================================
--- cordova/site/public/docs/en/3.1.0/prettify/lang-scala.js (added)
+++ cordova/site/public/docs/en/3.1.0/prettify/lang-scala.js Tue Oct  1 03:55:57 2013
@@ -0,0 +1,2 @@
+PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xA0]+/,null,"\t\n\r \u00a0"],["str",/^(?:"(?:(?:""(?:""?(?!")|[^\\"]|\\.)*"{0,3})|(?:[^"\r\n\\]|\\.)*"?))/,null,'"'],["lit",/^`(?:[^\r\n\\`]|\\.)*`?/,null,"`"],["pun",/^[!#%&()*+,\-:;<=>?@\[\\\]^{|}~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[["str",/^'(?:[^\r\n\\']|\\(?:'|[^\r\n']+))'/],["lit",/^'[a-zA-Z_$][\w$]*(?!['$\w])/],["kwd",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/],
+["lit",/^(?:true|false|null|this)\b/],["lit",/^(?:(?:0(?:[0-7]+|X[0-9A-F]+))L?|(?:(?:0|[1-9][0-9]*)(?:(?:\.[0-9]+)?(?:E[+\-]?[0-9]+)?F?|L?))|\\.[0-9]+(?:E[+\-]?[0-9]+)?F?)/i],["typ",/^[$_]*[A-Z][_$A-Z0-9]*[a-z][\w$]*/],["pln",/^[$a-zA-Z_][\w$]*/],["com",/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],["pun",/^(?:\.+|\/)/]]),["scala"])
\ No newline at end of file

Propchange: cordova/site/public/docs/en/3.1.0/prettify/lang-scala.js
------------------------------------------------------------------------------
    svn:executable = *