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-375] Resume event should fire only when app is leaving background and coming to foreground, not during page load.
Date Fri, 23 Mar 2012 05:14:15 GMT
Updated Branches:
  refs/heads/master e50b7ef68 -> ee965b370


[CB-375] Resume event should fire only when app is leaving background and coming to foreground,
not during page load.


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/ee965b37
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/ee965b37
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/ee965b37

Branch: refs/heads/master
Commit: ee965b37034f6f6ac9e19d778673c875d0b9ee2c
Parents: e50b7ef
Author: Bryce Curtis <curtis.bryce@gmail.com>
Authored: Fri Mar 23 00:13:55 2012 -0500
Committer: Bryce Curtis <curtis.bryce@gmail.com>
Committed: Fri Mar 23 00:13:55 2012 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/ee965b37/lib/scripts/bootstrap.js
----------------------------------------------------------------------
diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js
index 73875ee..5452561 100755
--- a/lib/scripts/bootstrap.js
+++ b/lib/scripts/bootstrap.js
@@ -47,9 +47,6 @@
                     // cordova info has been received from native side.
                     channel.join(function() {
                         channel.onDeviceReady.fire();
-
-                        // Fire the onresume event, since first one happens before JavaScript
is loaded
-                        channel.onResume.fire();
                     }, channel.deviceReadyChannelsArray);
                     
                 }, [ channel.onDOMContentLoaded, channel.onNativeReady ]);


Mime
View raw message