Skip to content

Commit

Permalink
Added common 'activated' channel
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage committed Jul 14, 2015
1 parent a83e94b commit a8a3218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/common/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if (!window.console.warn) {
// Register pause, resume and deviceready channels as events on document.
channel.onPause = cordova.addDocumentEventHandler('pause');
channel.onResume = cordova.addDocumentEventHandler('resume');
channel.onActivated = cordova.addDocumentEventHandler('activated');
channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');

// Listen for DOMContentLoaded and notify our channel subscribers.
Expand Down
1 change: 1 addition & 0 deletions src/common/init_b.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ if (!window.console.warn) {
// Register pause, resume and deviceready channels as events on document.
channel.onPause = cordova.addDocumentEventHandler('pause');
channel.onResume = cordova.addDocumentEventHandler('resume');
channel.onActivated = cordova.addDocumentEventHandler('activated');
channel.onDeviceReady = cordova.addStickyDocumentEventHandler('deviceready');

// Listen for DOMContentLoaded and notify our channel subscribers.
Expand Down

0 comments on commit a8a3218

Please sign in to comment.