Skip to content
Permalink
Browse files
Revert "CB-8674: Creates a 'cordova.env' object, and then on Windows …
…hangs the"

This reverts commit f86227b.
  • Loading branch information
purplecabbage committed May 6, 2015
1 parent a2eb359 commit 7f2fbc5e51f0f158fd277f1f675d1a7e68f29f6e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
@@ -101,7 +101,6 @@ var cordova = {
version:PLATFORM_VERSION_BUILD_LABEL,
platformVersion:PLATFORM_VERSION_BUILD_LABEL,
platformId:platform.id,
env:{},
/**
* Methods to add/remove your own addEventListener hijacking on document + window.
*/
@@ -41,15 +41,9 @@ module.exports = {
var resumingHandler = function resumingHandler() {
cordova.fireDocumentEvent('resume',null,true);
};

var activationHandler = function activationHandler(e) {
cordova.env = (cordova.env || { });
cordova.env.args = e.detail;
};

app.addEventListener("checkpoint", checkpointHandler);
Windows.UI.WebUI.WebUIApplication.addEventListener("resuming", resumingHandler, false);
app.addEventListener('activated', activationHandler);
app.start();
};

0 comments on commit 7f2fbc5

Please sign in to comment.