incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bcur...@apache.org
Subject git commit: [CB-327] Only initialized JS when an HTML page is loaded the first time.
Date Wed, 14 Mar 2012 14:00:10 GMT
Updated Branches:
  refs/heads/master f43f9666d -> e71e51e88


[CB-327] Only initialized JS when an HTML page is loaded the first time.


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

Branch: refs/heads/master
Commit: e71e51e883a8c85d8d7c1c6b09197eedab6a5b56
Parents: f43f966
Author: Bryce Curtis <curtis.bryce@gmail.com>
Authored: Wed Mar 14 08:59:54 2012 -0500
Committer: Bryce Curtis <curtis.bryce@gmail.com>
Committed: Wed Mar 14 08:59:54 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/e71e51e8/lib/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/bootstrap.js b/lib/bootstrap.js
old mode 100644
new mode 100755
index 4b19971..f90871b
--- a/lib/bootstrap.js
+++ b/lib/bootstrap.js
@@ -54,7 +54,7 @@
             }
         };
     // boot up once native side is ready
-    channel.onNativeReady.subscribe(_self.boot);
+    channel.onNativeReady.subscribeOnce(_self.boot);
 
     // _nativeReady is global variable that the native side can set
     // to signify that the native code is ready. It is a global since 


Mime
View raw message