cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [2/2] js commit: Revert "CB-8674: Creates a 'cordova.env' object, and then on Windows hangs the"
Date Wed, 06 May 2015 23:52:03 GMT
Revert "CB-8674: Creates a 'cordova.env' object, and then on Windows hangs the"

This reverts commit f86227b8fe80a13d8db35a7478c798782aee1b17.


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

Branch: refs/heads/master
Commit: 7f2fbc5e51f0f158fd277f1f675d1a7e68f29f6e
Parents: a2eb359
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Wed May 6 16:49:55 2015 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Wed May 6 16:49:55 2015 -0700

----------------------------------------------------------------------
 src/cordova.js          | 1 -
 src/windows/platform.js | 6 ------
 2 files changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/7f2fbc5e/src/cordova.js
----------------------------------------------------------------------
diff --git a/src/cordova.js b/src/cordova.js
index 7e4377c..1ef3478 100644
--- a/src/cordova.js
+++ b/src/cordova.js
@@ -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.
      */

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/7f2fbc5e/src/windows/platform.js
----------------------------------------------------------------------
diff --git a/src/windows/platform.js b/src/windows/platform.js
index be72cd3..2807505 100644
--- a/src/windows/platform.js
+++ b/src/windows/platform.js
@@ -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();
         };
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message