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

[12/12] webworks commit: [CB-1710] - updating the javascripts

[CB-1710] - updating the javascripts


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/54d1c815
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/54d1c815
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/54d1c815

Branch: refs/heads/bb10_ext_qnx
Commit: 54d1c815bb66a74932778f2f9e4ba70f38317a69
Parents: e72c24c
Author: Tim Kim <ti...@nitobi.com>
Authored: Wed Oct 24 13:19:49 2012 -0700
Committer: Tim Kim <ti...@nitobi.com>
Committed: Wed Oct 24 13:19:49 2012 -0700

----------------------------------------------------------------------
 javascript/cordova.blackberry.js |    9 ++++-----
 javascript/cordova.playbook.js   |   11 +++++------
 javascript/cordova.qnx.js        |   11 +++++------
 3 files changed, 14 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/54d1c815/javascript/cordova.blackberry.js
----------------------------------------------------------------------
diff --git a/javascript/cordova.blackberry.js b/javascript/cordova.blackberry.js
index 5a0c13f..8f4921d 100644
--- a/javascript/cordova.blackberry.js
+++ b/javascript/cordova.blackberry.js
@@ -1,6 +1,6 @@
-// commit 337b1f443491f3fdb816dc32f70e5378e0e1967c
+// commit 884cb0e8f4809b6182b41101c092eee1139f82da
 
-// File generated at :: Mon Oct 15 2012 13:42:48 GMT-0700 (PDT)
+// File generated at :: Wed Oct 24 2012 13:17:54 GMT-0700 (PDT)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -695,7 +695,6 @@ module.exports = {
         return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null );
     }
 };
-
 });
 
 // file: lib/common/common.js
@@ -7279,8 +7278,8 @@ utils.extend = (function() {
  * Alerts a message in any available way: alert or console.log.
  */
 utils.alert = function(msg) {
-    if (alert) {
-        alert(msg);
+    if (window.alert) {
+        window.alert(msg);
     } else if (console && console.log) {
         console.log(msg);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/54d1c815/javascript/cordova.playbook.js
----------------------------------------------------------------------
diff --git a/javascript/cordova.playbook.js b/javascript/cordova.playbook.js
index 025969d..bac1ab8 100644
--- a/javascript/cordova.playbook.js
+++ b/javascript/cordova.playbook.js
@@ -1,6 +1,6 @@
-// commit 337b1f443491f3fdb816dc32f70e5378e0e1967c
+// commit 884cb0e8f4809b6182b41101c092eee1139f82da
 
-// File generated at :: Mon Oct 15 2012 13:42:48 GMT-0700 (PDT)
+// File generated at :: Wed Oct 24 2012 13:17:54 GMT-0700 (PDT)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -695,7 +695,6 @@ module.exports = {
         return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null );
     }
 };
-
 });
 
 // file: lib/common/common.js
@@ -5223,7 +5222,7 @@ module.exports = {
             version: blackberry.system.softwareVersion,
             name: blackberry.system.model,
             uuid: blackberry.identity.PIN,
-            cordova: "2.2.0rc1"
+            cordova: "2.2.0rc2"
         });
 
         return { "status" : cordova.callbackStatus.NO_RESULT, "message" : "Device info returned" };
@@ -7635,8 +7634,8 @@ utils.extend = (function() {
  * Alerts a message in any available way: alert or console.log.
  */
 utils.alert = function(msg) {
-    if (alert) {
-        alert(msg);
+    if (window.alert) {
+        window.alert(msg);
     } else if (console && console.log) {
         console.log(msg);
     }

http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/54d1c815/javascript/cordova.qnx.js
----------------------------------------------------------------------
diff --git a/javascript/cordova.qnx.js b/javascript/cordova.qnx.js
index 6612bb1..6c59620 100644
--- a/javascript/cordova.qnx.js
+++ b/javascript/cordova.qnx.js
@@ -1,6 +1,6 @@
-// commit 337b1f443491f3fdb816dc32f70e5378e0e1967c
+// commit 884cb0e8f4809b6182b41101c092eee1139f82da
 
-// File generated at :: Mon Oct 15 2012 13:42:48 GMT-0700 (PDT)
+// File generated at :: Wed Oct 24 2012 13:17:54 GMT-0700 (PDT)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -695,7 +695,6 @@ module.exports = {
         return ( CommandProxyMap[service] ? CommandProxyMap[service][action] : null );
     }
 };
-
 });
 
 // file: lib/common/common.js
@@ -5528,7 +5527,7 @@ module.exports = {
             version: blackberry.system.softwareVersion,
             name: "Dev Alpha",
             uuid: blackberry.identity.uuid,
-            cordova: "2.2.0rc1"
+            cordova: "2.2.0rc2"
         });
 
         return { "status" : cordova.callbackStatus.NO_RESULT, "message" : "Device info returned" };
@@ -6071,8 +6070,8 @@ utils.extend = (function() {
  * Alerts a message in any available way: alert or console.log.
  */
 utils.alert = function(msg) {
-    if (alert) {
-        alert(msg);
+    if (window.alert) {
+        window.alert(msg);
     } else if (console && console.log) {
         console.log(msg);
     }