Updated Branches: refs/heads/master 72e9625e8 -> 1d3b2cae5
[#1306] Update PhoneGap references to Apache Cordova. Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/commit/1d3b2cae Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/tree/1d3b2cae Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/diff/1d3b2cae Branch: refs/heads/master Commit: 1d3b2cae5c45f87a0a278ab64883ffbc62cbcf97 Parents: 72e9625 Author: Michael Brooks <mich...@michaelbrooks.ca> Authored: Thu Aug 30 15:32:23 2012 -0700 Committer: Michael Brooks <mich...@michaelbrooks.ca> Committed: Thu Aug 30 15:32:23 2012 -0700 ---------------------------------------------------------------------- Res/index.html | 2 +- Res/main.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/blob/1d3b2cae/Res/index.html ---------------------------------------------------------------------- diff --git a/Res/index.html b/Res/index.html index d3a8eb0..bc22033 100644 --- a/Res/index.html +++ b/Res/index.html @@ -66,7 +66,7 @@ <!-- Network --> <div> <h3>Network</h3> - <input onclick="hostIsReachable('http://phonegap.com')" type="submit" value="Network.isReachable"> + <input onclick="hostIsReachable('http://cordova.io')" type="submit" value="Network.isReachable"> <div id="network" style="display:none;"> Network Information </div> http://git-wip-us.apache.org/repos/asf/incubator-cordova-bada/blob/1d3b2cae/Res/main.js ---------------------------------------------------------------------- diff --git a/Res/main.js b/Res/main.js index e41a986..83b5644 100644 --- a/Res/main.js +++ b/Res/main.js @@ -136,7 +136,7 @@ function debugPrint(body) { // Stock Browser Test (Any URL request launches Stock browser) function launchExternalBrowser() { - window.location = "http://www.phonegap.com"; + window.location = "http://cordova.io"; } @@ -155,7 +155,7 @@ function hostIsReachable() { network.style.display = 'block'; network.innerHTML = 'Code: '+reachability.code+' Connection type: '+states[networkState]; } - navigator.network.isReachable("http://phonegap.com", callback, {}); + navigator.network.isReachable("http://cordova.io", callback, {}); } catch(e) { debugPrint("hostIsReachable(): "+e.message); }