You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/03/20 16:48:58 UTC

[14/40] js commit: switch alert to console.error for fail to load webworks.js

switch alert to console.error for fail to load webworks.js


Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/03a4b305
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/03a4b305
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/03a4b305

Branch: refs/heads/cb2227
Commit: 03a4b305393735717b5775390695036fa6e43fcc
Parents: 7cb3604
Author: Gord Tanner <gt...@gmail.com>
Authored: Tue Feb 26 17:36:38 2013 -0800
Committer: Gord Tanner <gt...@gmail.com>
Committed: Tue Feb 26 17:36:38 2013 -0800

----------------------------------------------------------------------
 lib/scripts/bootstrap-blackberry.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/03a4b305/lib/scripts/bootstrap-blackberry.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap-blackberry.js b/lib/scripts/bootstrap-blackberry.js
index f5d11fc..8dbf65e 100644
--- a/lib/scripts/bootstrap-blackberry.js
+++ b/lib/scripts/bootstrap-blackberry.js
@@ -30,7 +30,7 @@ document.addEventListener("DOMContentLoaded", function () {
             });
         };
         wwjs.onerror = function () {
-            alert('there was a problem loading webworks.js');
+            console.error('there was a problem loading webworks.js');
         };
         document.head.appendChild(wwjs);
         break;