cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@apache.org
Subject [15/31] js commit: Revert "[windowsphone] modulemapper refactor for CordovaCommandResult"
Date Wed, 27 Feb 2013 21:09:56 GMT
Revert "[windowsphone] modulemapper refactor for CordovaCommandResult"

This reverts commit 82fa093749ab065b0bb01a5f3a15ffbfdac725a9.


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

Branch: refs/heads/next
Commit: c59a6b178a93c5108b2495a61a7f4922b4024024
Parents: f88c86b
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 21 07:54:29 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 21 07:54:29 2013 -0500

----------------------------------------------------------------------
 lib/windowsphone/platform.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c59a6b17/lib/windowsphone/platform.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js
index 449a954..2fb103c 100644
--- a/lib/windowsphone/platform.js
+++ b/lib/windowsphone/platform.js
@@ -30,8 +30,6 @@ module.exports = {
         modulemapper.loadMatchingModules(/cordova.*\/plugininit$/);
 
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
-        modulemapper.clobbers('/cordova/plugin/windowsphone/CordovaCommandResult', 'CordovaCommandResult');
-
         modulemapper.mapModules(window);
 
         // Inject a listener for the backbutton, and tell native to override the flag (true/false)
when we have 1 or more, or 0, listeners
@@ -41,6 +39,9 @@ module.exports = {
         };
     },
     clobbers: {
+        CordovaCommandResult: {
+            path:"cordova/plugin/windowsphone/CordovaCommandResult"
+        },
         FileTransfer: {
             path: 'cordova/plugin/windowsphone/FileTransfer'
         },


Mime
View raw message