You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bc...@apache.org on 2012/03/28 20:30:29 UTC

[2/2] docs commit: [CB-229] Rename assets from PhoneGap to Cordova. Rename file device.phonegap.md => device.cordova.md.

[CB-229] Rename assets from PhoneGap to Cordova.
Rename file device.phonegap.md => device.cordova.md.


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

Branch: refs/heads/master
Commit: f9f2eb0895407d7ff37551bd76beaf47d72176c1
Parents: 80e274d
Author: Bryce Curtis <cu...@gmail.com>
Authored: Wed Mar 28 13:27:27 2012 -0500
Committer: Bryce Curtis <cu...@gmail.com>
Committed: Wed Mar 28 13:27:27 2012 -0500

----------------------------------------------------------------------
 docs/en/edge/config.json                        |    2 +-
 docs/en/edge/phonegap/device/device.cordova.md  |   60 ++++++++++++++++++
 docs/en/edge/phonegap/device/device.phonegap.md |   60 ------------------
 3 files changed, 61 insertions(+), 61 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f9f2eb08/docs/en/edge/config.json
----------------------------------------------------------------------
diff --git a/docs/en/edge/config.json b/docs/en/edge/config.json
index 5752429..0131a42 100644
--- a/docs/en/edge/config.json
+++ b/docs/en/edge/config.json
@@ -66,7 +66,7 @@
         "device.md": [
             "phonegap/device/device.md",
             "phonegap/device/device.name.md",
-            "phonegap/device/device.phonegap.md",
+            "phonegap/device/device.cordova.md",
             "phonegap/device/device.platform.md",
             "phonegap/device/device.uuid.md",
             "phonegap/device/device.version.md"

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f9f2eb08/docs/en/edge/phonegap/device/device.cordova.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.cordova.md b/docs/en/edge/phonegap/device/device.cordova.md
new file mode 100644
index 0000000..1ad7eea
--- /dev/null
+++ b/docs/en/edge/phonegap/device/device.cordova.md
@@ -0,0 +1,60 @@
+device.cordova
+===============
+
+Get the version of Cordova running on the device.
+
+    var string = device.cordova;
+    
+Description
+-----------
+
+`device.cordova` returns the version of Cordova running on the device.
+
+Supported Platforms
+-------------------
+
+- Android
+- BlackBerry
+- BlackBerry WebWorks (OS 5.0 and higher)
+- iPhone
+- Windows Phone 7 ( Mango )
+
+Quick Example
+-------------
+
+    var name = device.cordova;
+
+Full Example
+------------
+
+    <!DOCTYPE html>
+    <html>
+      <head>
+        <title>Device Properties Example</title>
+
+        <script type="text/javascript" charset="utf-8" src="cordova-1.6.0.js"></script>
+        <script type="text/javascript" charset="utf-8">
+
+        // Wait for Cordova to load
+        //
+        document.addEventListener("deviceready", onDeviceReady, false);
+
+        // Cordova is ready
+        //
+        function onDeviceReady() {
+            var element = document.getElementById('deviceProperties');
+    
+            element.innerHTML = 'Device Name: '     + device.name     + '<br />' + 
+                                'Device Cordova: '  + device.cordova  + '<br />' + 
+                                'Device Platform: ' + device.platform + '<br />' + 
+                                'Device UUID: '     + device.uuid     + '<br />' + 
+                                'Device Version: '  + device.version  + '<br />';
+        }
+
+        </script>
+      </head>
+      <body>
+        <p id="deviceProperties">Loading device properties...</p>
+      </body>
+    </html>
+    
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/f9f2eb08/docs/en/edge/phonegap/device/device.phonegap.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/phonegap/device/device.phonegap.md b/docs/en/edge/phonegap/device/device.phonegap.md
deleted file mode 100644
index 1ad7eea..0000000
--- a/docs/en/edge/phonegap/device/device.phonegap.md
+++ /dev/null
@@ -1,60 +0,0 @@
-device.cordova
-===============
-
-Get the version of Cordova running on the device.
-
-    var string = device.cordova;
-    
-Description
------------
-
-`device.cordova` returns the version of Cordova running on the device.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iPhone
-- Windows Phone 7 ( Mango )
-
-Quick Example
--------------
-
-    var name = device.cordova;
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-1.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova is ready
-        //
-        function onDeviceReady() {
-            var element = document.getElementById('deviceProperties');
-    
-            element.innerHTML = 'Device Name: '     + device.name     + '<br />' + 
-                                'Device Cordova: '  + device.cordova  + '<br />' + 
-                                'Device Platform: ' + device.platform + '<br />' + 
-                                'Device UUID: '     + device.uuid     + '<br />' + 
-                                'Device Version: '  + device.version  + '<br />';
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="deviceProperties">Loading device properties...</p>
-      </body>
-    </html>
-    
\ No newline at end of file