You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by he...@apache.org on 2013/03/13 22:29:35 UTC

[10/30] git commit: fixed hacked corodva.js file ;)

fixed hacked corodva.js file ;)


Project: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/1314838f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/1314838f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/1314838f

Branch: refs/heads/master
Commit: 1314838f4e770be09e65e1d43899737c34a39c66
Parents: 050bb3c
Author: Gord Tanner <gt...@gmail.com>
Authored: Sat Jan 26 14:30:55 2013 -0500
Committer: hermwong <he...@gmail.com>
Committed: Wed Mar 13 14:22:03 2013 -0700

----------------------------------------------------------------------
 javascript/cordova.b2g.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/1314838f/javascript/cordova.b2g.js
----------------------------------------------------------------------
diff --git a/javascript/cordova.b2g.js b/javascript/cordova.b2g.js
index 9ec16c0..286f817 100644
--- a/javascript/cordova.b2g.js
+++ b/javascript/cordova.b2g.js
@@ -1,6 +1,6 @@
 //Hacked, should be replaced with results from cordova-js
 setTimeout(function () {
     var evt = document.createEvent('Events');
-    evt.init("deviceready", false , false);
+    evt.initEvent("deviceready", false , false);
     document.dispatchEvent(evt);
 }, 10);