You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/02/22 09:15:23 UTC
[3/29] almost there
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/25b09ad7/example/www/events.html
----------------------------------------------------------------------
diff --git a/example/www/events.html b/example/www/events.html
index 6e5103d..c422517 100644
--- a/example/www/events.html
+++ b/example/www/events.html
@@ -4,7 +4,7 @@
<!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
- <title>PhoneGap</title>
+ <title>Cordova</title>
<script type="text/javascript">
// provide our own console if it does not exist, huge dev aid!
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/25b09ad7/example/www/file.html
----------------------------------------------------------------------
diff --git a/example/www/file.html b/example/www/file.html
index ec52969..981243e 100644
--- a/example/www/file.html
+++ b/example/www/file.html
@@ -4,7 +4,7 @@
<!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
- <title>PhoneGap</title>
+ <title>Cordova</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen"/>
<script type="text/javascript">
@@ -241,7 +241,7 @@
}, false);
window.setTimeout(function () {
if (!deviceReady) {
- alert("Error: PhoneGap did not initialize. Demo will not run correctly.");
+ alert("Error: Cordova did not initialize. Demo will not run correctly.");
}
}, 1000);
}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/25b09ad7/example/www/index.html
----------------------------------------------------------------------
diff --git a/example/www/index.html b/example/www/index.html
index 8fbff6e..1133886 100644
--- a/example/www/index.html
+++ b/example/www/index.html
@@ -3,7 +3,7 @@
<head>
<meta name="viewport" content="width=320; user-scalable=no" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
- <title>PhoneGap</title>
+ <title>Cordova</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<script type="text/javascript">
@@ -60,9 +60,9 @@
document.getElementById("colorDepth").innerHTML = screen.colorDepth;
};
- PhoneGap.addConstructor(function()
+ Cordova.addConstructor(function()
{
- console.log("PhoneGap.addConstructor is working");
+ console.log("Cordova.addConstructor is working");
});
@@ -75,7 +75,7 @@
</head>
<body onLoad="init();" id="stage" class="theme">
- <h1>PhoneGap Tests</h1>
+ <h1>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-wp7/blob/25b09ad7/example/www/location.html
----------------------------------------------------------------------
diff --git a/example/www/location.html b/example/www/location.html
index 76cdfc1..73d23e9 100644
--- a/example/www/location.html
+++ b/example/www/location.html
@@ -4,7 +4,7 @@
<!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>PhoneGap</title>
+ <title>Cordova</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen">
<script type="text/javascript">
@@ -130,7 +130,7 @@
}, false);
window.setTimeout(function() {
if (!deviceReady) {
- alert("Error: PhoneGap did not initialize. Demo will not run correctly.");
+ alert("Error: Cordova did not initialize. Demo will not run correctly.");
}
},1000);
}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/25b09ad7/example/www/network.html
----------------------------------------------------------------------
diff --git a/example/www/network.html b/example/www/network.html
index aa2d726..4bf5610 100644
--- a/example/www/network.html
+++ b/example/www/network.html
@@ -4,7 +4,7 @@
<!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
- <title>PhoneGap</title>
+ <title>Cordova</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<script type="text/javascript">
// provide our own console if it does not exist, huge dev aid!
@@ -66,12 +66,12 @@
deviceReady = true;
console.log("Device="+device.platform+" "+device.version);
- PhoneGap.onPhoneGapConnectionReady.subscribeOnce(getConnectionState);
+ Cordova.onCordovaConnectionReady.subscribeOnce(getConnectionState);
}, false);
window.setTimeout(function() {
if (!deviceReady) {
- console.log("Error: PhoneGap did not initialize. Demo will not run correctly.");
+ console.log("Error: Cordova did not initialize. Demo will not run correctly.");
}
},1000);
}
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/25b09ad7/example/www/notification.html
----------------------------------------------------------------------
diff --git a/example/www/notification.html b/example/www/notification.html
index bf65ebf..67d6a02 100644
--- a/example/www/notification.html
+++ b/example/www/notification.html
@@ -4,7 +4,7 @@
<!-- meta name="viewport" content="width=device-width, height=device-height, user-scalable=yes, initial-scale=2.0, maximum-scale=4.0, minimum-scale=1.0" / -->
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> <!-- ISO-8859-1 -->
- <title>PhoneGap</title>
+ <title>Cordova</title>
<link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<script type="text/javascript">
// provide our own console if it does not exist, huge dev aid!
@@ -93,7 +93,7 @@
}, false);
window.setTimeout(function() {
if (!deviceReady) {
- console.log("Error: PhoneGap did not initialize. Demo will not run correctly.");
+ console.log("Error: Cordova did not initialize. Demo will not run correctly.");
}
},1000);
}