incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject spec commit: Renamed all phonegap.js references (and the file) to cordova.js.
Date Thu, 26 Apr 2012 23:39:17 GMT
Updated Branches:
  refs/heads/master 95f734a01 -> f5263071a


Renamed all phonegap.js references (and the file) to cordova.js.


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

Branch: refs/heads/master
Commit: f5263071a87e18b15b330ddfea524c337003d1d4
Parents: 95f734a
Author: shazron <shazron@gmail.com>
Authored: Thu Apr 26 16:39:08 2012 -0700
Committer: shazron <shazron@gmail.com>
Committed: Thu Apr 26 16:39:08 2012 -0700

----------------------------------------------------------------------
 accelerometer/index.html          |    2 +-
 audio/index.html                  |    2 +-
 autotest/index.html               |    2 +-
 autotest/pages/accelerometer.html |    2 +-
 autotest/pages/all.html           |    2 +-
 autotest/pages/battery.html       |    2 +-
 autotest/pages/camera.html        |    2 +-
 autotest/pages/capture.html       |    2 +-
 autotest/pages/compass.html       |    2 +-
 autotest/pages/contacts.html      |    2 +-
 autotest/pages/device.html        |    2 +-
 autotest/pages/file.html          |    2 +-
 autotest/pages/filetransfer.html  |    2 +-
 autotest/pages/geolocation.html   |    2 +-
 autotest/pages/media.html         |    2 +-
 autotest/pages/network.html       |    2 +-
 autotest/pages/notification.html  |    2 +-
 autotest/pages/platform.html      |    2 +-
 autotest/pages/storage.html       |    2 +-
 battery/index.html                |    2 +-
 camera/index.html                 |    2 +-
 compass/index.html                |    2 +-
 contacts/index.html               |    2 +-
 cordova.js                        |   13 +++++++++++++
 events/index.html                 |    2 +-
 index.html                        |    2 +-
 location/index.html               |    2 +-
 misc/index.html                   |    2 +-
 misc/page2.html                   |    2 +-
 network/index.html                |    2 +-
 notification/index.html           |    2 +-
 phonegap.js                       |   13 -------------
 sql/index.html                    |    2 +-
 storage/index.html                |    2 +-
 34 files changed, 45 insertions(+), 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/accelerometer/index.html
----------------------------------------------------------------------
diff --git a/accelerometer/index.html b/accelerometer/index.html
index b5f9ae4..efa043b 100755
--- a/accelerometer/index.html
+++ b/accelerometer/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/audio/index.html
----------------------------------------------------------------------
diff --git a/audio/index.html b/audio/index.html
index ba2f8e0..93cd5bb 100755
--- a/audio/index.html
+++ b/audio/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Audio Tests</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/index.html
----------------------------------------------------------------------
diff --git a/autotest/index.html b/autotest/index.html
index 5018d07..70a1eeb 100755
--- a/autotest/index.html
+++ b/autotest/index.html
@@ -7,7 +7,7 @@
     <title>Cordova API Specs</title>
 
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" src="../phonegap.js"></script>
+    <script type="text/javascript" src="../cordova.js"></script>
   </head>
   <body id="stage" class="theme">
     <h1>Cordova API Specs</h1>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/accelerometer.html
----------------------------------------------------------------------
diff --git a/autotest/pages/accelerometer.html b/autotest/pages/accelerometer.html
index a3dbff8..bac1836 100644
--- a/autotest/pages/accelerometer.html
+++ b/autotest/pages/accelerometer.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/all.html
----------------------------------------------------------------------
diff --git a/autotest/pages/all.html b/autotest/pages/all.html
index 5bb7a93..f5ed40a 100644
--- a/autotest/pages/all.html
+++ b/autotest/pages/all.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/battery.html
----------------------------------------------------------------------
diff --git a/autotest/pages/battery.html b/autotest/pages/battery.html
index 9bf3431..8441950 100644
--- a/autotest/pages/battery.html
+++ b/autotest/pages/battery.html
@@ -13,7 +13,7 @@
   <script type="text/javascript" src="../html/SpecView.js"></script>
   <script type="text/javascript" src="../html/SuiteView.js"></script>
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/camera.html
----------------------------------------------------------------------
diff --git a/autotest/pages/camera.html b/autotest/pages/camera.html
index 8a2f2f4..e136f27 100644
--- a/autotest/pages/camera.html
+++ b/autotest/pages/camera.html
@@ -17,7 +17,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/capture.html
----------------------------------------------------------------------
diff --git a/autotest/pages/capture.html b/autotest/pages/capture.html
index e65b427..0cb2baf 100644
--- a/autotest/pages/capture.html
+++ b/autotest/pages/capture.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/compass.html
----------------------------------------------------------------------
diff --git a/autotest/pages/compass.html b/autotest/pages/compass.html
index 75f119b..dfd9975 100644
--- a/autotest/pages/compass.html
+++ b/autotest/pages/compass.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/contacts.html
----------------------------------------------------------------------
diff --git a/autotest/pages/contacts.html b/autotest/pages/contacts.html
index 8be8891..2575e13 100644
--- a/autotest/pages/contacts.html
+++ b/autotest/pages/contacts.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/device.html
----------------------------------------------------------------------
diff --git a/autotest/pages/device.html b/autotest/pages/device.html
index 00b2e9f..ed25d81 100644
--- a/autotest/pages/device.html
+++ b/autotest/pages/device.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/file.html
----------------------------------------------------------------------
diff --git a/autotest/pages/file.html b/autotest/pages/file.html
index 2c8ca59..d9e21ca 100644
--- a/autotest/pages/file.html
+++ b/autotest/pages/file.html
@@ -15,7 +15,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/filetransfer.html
----------------------------------------------------------------------
diff --git a/autotest/pages/filetransfer.html b/autotest/pages/filetransfer.html
index 9dd9d12..e213ee1 100644
--- a/autotest/pages/filetransfer.html
+++ b/autotest/pages/filetransfer.html
@@ -14,7 +14,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/geolocation.html
----------------------------------------------------------------------
diff --git a/autotest/pages/geolocation.html b/autotest/pages/geolocation.html
index 57271c7..578c6f4 100644
--- a/autotest/pages/geolocation.html
+++ b/autotest/pages/geolocation.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/media.html
----------------------------------------------------------------------
diff --git a/autotest/pages/media.html b/autotest/pages/media.html
index 90b22b6..48d9e2d 100644
--- a/autotest/pages/media.html
+++ b/autotest/pages/media.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/network.html
----------------------------------------------------------------------
diff --git a/autotest/pages/network.html b/autotest/pages/network.html
index db1e41b..627320c 100644
--- a/autotest/pages/network.html
+++ b/autotest/pages/network.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/notification.html
----------------------------------------------------------------------
diff --git a/autotest/pages/notification.html b/autotest/pages/notification.html
index 2de9275..ef9d4a2 100644
--- a/autotest/pages/notification.html
+++ b/autotest/pages/notification.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/platform.html
----------------------------------------------------------------------
diff --git a/autotest/pages/platform.html b/autotest/pages/platform.html
index 4c5b0a5..884ba45 100644
--- a/autotest/pages/platform.html
+++ b/autotest/pages/platform.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/autotest/pages/storage.html
----------------------------------------------------------------------
diff --git a/autotest/pages/storage.html b/autotest/pages/storage.html
index 8512dd3..eb0703b 100644
--- a/autotest/pages/storage.html
+++ b/autotest/pages/storage.html
@@ -16,7 +16,7 @@
   <script type="text/javascript" src="../html/TrivialReporter.js"></script>
 
   <!-- Source -->
-  <script type="text/javascript" src="../../phonegap.js"></script>
+  <script type="text/javascript" src="../../cordova.js"></script>
 
   <!-- Load Test Runner -->
   <script type="text/javascript" src="../test-runner.js"></script>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/battery/index.html
----------------------------------------------------------------------
diff --git a/battery/index.html b/battery/index.html
index 593104a..394988c 100644
--- a/battery/index.html
+++ b/battery/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/camera/index.html
----------------------------------------------------------------------
diff --git a/camera/index.html b/camera/index.html
index 2e27da5..bc3b554 100755
--- a/camera/index.html
+++ b/camera/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/compass/index.html
----------------------------------------------------------------------
diff --git a/compass/index.html b/compass/index.html
index 3bc4d9b..8dbf99a 100755
--- a/compass/index.html
+++ b/compass/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/contacts/index.html
----------------------------------------------------------------------
diff --git a/contacts/index.html b/contacts/index.html
index c646db1..950e1cc 100755
--- a/contacts/index.html
+++ b/contacts/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/cordova.js
----------------------------------------------------------------------
diff --git a/cordova.js b/cordova.js
new file mode 100755
index 0000000..a8bfdcf
--- /dev/null
+++ b/cordova.js
@@ -0,0 +1,13 @@
+document.write('<script type="text/javascript" charset="utf-8" src="../../cordova-1.7.0.js"></script>');
+document.write('<script type="text/javascript" charset="utf-8" src="../cordova-1.7.0.js"></script>');
+document.write('<script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>');
+
+function backHome() {
+	
+	if (window.device && device.platform && device.platform.toLowerCase() ==
'android') {
+            navigator.app.backHistory();
+	}
+	else {
+	    window.history.go(-1);
+	}
+}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/events/index.html
----------------------------------------------------------------------
diff --git a/events/index.html b/events/index.html
index 32f9176..2c7e8ba 100755
--- a/events/index.html
+++ b/events/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 6d76d9d..9c6f3cb 100755
--- a/index.html
+++ b/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8">
     <title>Cordova Mobile Spec</title>
 	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8">
-	  <script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
+	  <script type="text/javascript" charset="utf-8" src="cordova.js"></script>
 	  <script type="text/javascript" charset="utf-8" src="main.js"></script>
 
   </head>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/location/index.html
----------------------------------------------------------------------
diff --git a/location/index.html b/location/index.html
index 438bfbb..e39c12e 100755
--- a/location/index.html
+++ b/location/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/misc/index.html
----------------------------------------------------------------------
diff --git a/misc/index.html b/misc/index.html
index faf61ca..697cb10 100755
--- a/misc/index.html
+++ b/misc/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/misc/page2.html
----------------------------------------------------------------------
diff --git a/misc/page2.html b/misc/page2.html
index 9d16a8f..22026fc 100755
--- a/misc/page2.html
+++ b/misc/page2.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8">
     <title>Cordova Mobile Spec</title>
       <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-      <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
+      <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
       <script type="text/javascript" charset="utf-8" src="../main.js"></script>
 
   </head>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/network/index.html
----------------------------------------------------------------------
diff --git a/network/index.html b/network/index.html
index 90915c4..0b2204b 100644
--- a/network/index.html
+++ b/network/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/notification/index.html
----------------------------------------------------------------------
diff --git a/notification/index.html b/notification/index.html
index 58d340b..e5c0d17 100755
--- a/notification/index.html
+++ b/notification/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/phonegap.js
----------------------------------------------------------------------
diff --git a/phonegap.js b/phonegap.js
deleted file mode 100755
index 831f508..0000000
--- a/phonegap.js
+++ /dev/null
@@ -1,13 +0,0 @@
-document.write('<script type="text/javascript" charset="utf-8" src="../../phonegap-1.3.0.js"></script>');
-document.write('<script type="text/javascript" charset="utf-8" src="../phonegap-1.3.0.js"></script>');
-document.write('<script type="text/javascript" charset="utf-8" src="phonegap-1.3.0.js"></script>');
-
-function backHome() {
-	
-	if (window.device && device.platform && device.platform.toLowerCase() ==
'android') {
-            navigator.app.backHistory();
-	}
-	else {
-	    window.history.go(-1);
-	}
-}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/sql/index.html
----------------------------------------------------------------------
diff --git a/sql/index.html b/sql/index.html
index cae19ce..116f8d1 100755
--- a/sql/index.html
+++ b/sql/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/f5263071/storage/index.html
----------------------------------------------------------------------
diff --git a/storage/index.html b/storage/index.html
index d638a29..85a0dbd 100755
--- a/storage/index.html
+++ b/storage/index.html
@@ -5,7 +5,7 @@
     <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1
-->
     <title>Cordova Mobile Spec</title>
     <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no
title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../phonegap.js"></script>
     
+    <script type="text/javascript" charset="utf-8" src="../cordova.js"></script>
     
 
       
 <script type="text/javascript" charset="utf-8">


Mime
View raw message