You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mw...@apache.org on 2012/08/31 00:24:03 UTC

spec commit: [#1310] Update PhoneGap references to Apache Cordova.

Updated Branches:
  refs/heads/master b333b4ffa -> 73a8fe63b


[#1310] Update PhoneGap references to Apache Cordova.


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/73a8fe63
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/73a8fe63
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/73a8fe63

Branch: refs/heads/master
Commit: 73a8fe63be71b7649d0c7bb3c3aeaf10ff88cd2a
Parents: b333b4f
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu Aug 30 15:23:56 2012 -0700
Committer: Michael Brooks <mi...@michaelbrooks.ca>
Committed: Thu Aug 30 15:23:56 2012 -0700

----------------------------------------------------------------------
 accelerometer/index.html |    2 +-
 audio/index.html         |    2 +-
 battery/index.html       |    2 +-
 camera/index.html        |    2 +-
 compass/index.html       |    2 +-
 contacts/index.html      |    2 +-
 events/index.html        |    2 +-
 index.html               |    2 +-
 location/index.html      |    2 +-
 main.js                  |    2 +-
 misc/index.html          |    4 ++--
 misc/page2.html          |    2 +-
 notification/index.html  |    2 +-
 sql/index.html           |    6 +++---
 storage/index.html       |    2 +-
 15 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/accelerometer/index.html
----------------------------------------------------------------------
diff --git a/accelerometer/index.html b/accelerometer/index.html
index efa043b..969ea61 100755
--- a/accelerometer/index.html
+++ b/accelerometer/index.html
@@ -109,7 +109,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/audio/index.html
----------------------------------------------------------------------
diff --git a/audio/index.html b/audio/index.html
index 42cfe83..6b2b7df 100644
--- a/audio/index.html
+++ b/audio/index.html
@@ -262,7 +262,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/battery/index.html
----------------------------------------------------------------------
diff --git a/battery/index.html b/battery/index.html
index 394988c..d2f2520 100644
--- a/battery/index.html
+++ b/battery/index.html
@@ -22,7 +22,7 @@
             }, false);
         window.setTimeout(function() {
             if (!deviceReady) {
-                alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+                alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
             }
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/camera/index.html
----------------------------------------------------------------------
diff --git a/camera/index.html b/camera/index.html
index bc3b554..2ceb658 100755
--- a/camera/index.html
+++ b/camera/index.html
@@ -73,7 +73,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/compass/index.html
----------------------------------------------------------------------
diff --git a/compass/index.html b/compass/index.html
index 8dbf99a..728cc84 100755
--- a/compass/index.html
+++ b/compass/index.html
@@ -102,7 +102,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/contacts/index.html
----------------------------------------------------------------------
diff --git a/contacts/index.html b/contacts/index.html
index 950e1cc..a6d6474 100755
--- a/contacts/index.html
+++ b/contacts/index.html
@@ -89,7 +89,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/events/index.html
----------------------------------------------------------------------
diff --git a/events/index.html b/events/index.html
index 2c7e8ba..372561a 100755
--- a/events/index.html
+++ b/events/index.html
@@ -51,7 +51,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 8534382..e7a77e0 100755
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
 
   </head>
   <body onload="init();" id="stage" class="theme">
-    <h1>PhoneGap Tests</h1>
+    <h1>Apache Cordova Tests</h1>
     <div id="info">
         <h4>Platform: <span id="platform">  </span></h4>
         <h4>Version: <span id="version"> </span></h4>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/location/index.html
----------------------------------------------------------------------
diff --git a/location/index.html b/location/index.html
index 9c989de..f649ccf 100755
--- a/location/index.html
+++ b/location/index.html
@@ -107,7 +107,7 @@ var date = (new Date(p.timestamp));
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index ae447aa..0ef98b6 100755
--- a/main.js
+++ b/main.js
@@ -90,7 +90,7 @@ function close() {
 
 // This is just to do this.
 function readFile() {
-    navigator.file.read('/sdcard/phonegap.txt', fail, fail);
+    navigator.file.read('/sdcard/cordova.txt', fail, fail);
 }
 
 function writeFile() {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/misc/index.html
----------------------------------------------------------------------
diff --git a/misc/index.html b/misc/index.html
index 697cb10..8567068 100755
--- a/misc/index.html
+++ b/misc/index.html
@@ -28,7 +28,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }
@@ -48,7 +48,7 @@
     <a href="http://www.google.com" class="btn large">Load Web Site</a>
     <!--  Need new URL -->
     <!-- a href="http://handle.library.cornell.edu/control/authBasic/authTest/" class="btn large">Basic Auth: test/this</a -->
-    <a href="page2.html" hrefbad="page2.html?me=test" class="btn large">Load another PhoneGap page</a>
+    <a href="page2.html" hrefbad="page2.html?me=test" class="btn large">Load another Apache Cordova page</a>
     <h2>Android Only</h2>
     <a href="geo:0,0?q=11400 Burnet Rd, Austin, TX" class="btn large">Map IBM</a>
     <a href="market://search?q=google" class="btn large">Search Android market</a>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/misc/page2.html
----------------------------------------------------------------------
diff --git a/misc/page2.html b/misc/page2.html
index 22026fc..ed1e4c5 100755
--- a/misc/page2.html
+++ b/misc/page2.html
@@ -11,7 +11,7 @@
   </head>
   <body onload="init();" id="stage" class="theme">
     <h1>Page2 App</h1>
-    <h2>This is page 2 of a PhoneGap app</h2>
+    <h2>This is page 2 of a Apache Cordova app</h2>
     <div id="info">
         <h4>Platform: <span id="platform">  </span></h4>
         <h4>Version: <span id="version"> </span></h4>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/notification/index.html
----------------------------------------------------------------------
diff --git a/notification/index.html b/notification/index.html
index e5c0d17..2fa21df 100755
--- a/notification/index.html
+++ b/notification/index.html
@@ -54,7 +54,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/sql/index.html
----------------------------------------------------------------------
diff --git a/sql/index.html b/sql/index.html
index 116f8d1..ca0376d 100755
--- a/sql/index.html
+++ b/sql/index.html
@@ -17,7 +17,7 @@
     //-------------------------------------------------------------------------
     var db;
     var callDatabase = function() {
-        db = openDatabase("mydb", "1.0", "PhoneGap Demo", 20000);
+        db = openDatabase("mydb", "1.0", "Apache Cordova Demo", 20000);
         if (db === null) {
             databaseOutput("Database could not be opened.");
             return;
@@ -72,7 +72,7 @@
 
     var readDatabase = function() {
     	if (!db) {
-    	    db = openDatabase("mydb", "1.0", "PhoneGap Demo", 20000);
+    	    db = openDatabase("mydb", "1.0", "Apache Cordova Demo", 20000);
     	    if (db === null) {
                 databaseOutput("Database could not be opened.");
                 return;
@@ -109,7 +109,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73a8fe63/storage/index.html
----------------------------------------------------------------------
diff --git a/storage/index.html b/storage/index.html
index 85a0dbd..bc7c7c3 100755
--- a/storage/index.html
+++ b/storage/index.html
@@ -22,7 +22,7 @@
             }, false);
         window.setTimeout(function() {
         	if (!deviceReady) {
-        		alert("Error: PhoneGap did not initialize.  Demo will not run correctly.");
+        		alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
         	}
         },1000);
     }