cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [47/50] js commit: [windowsphone] modulemapper refactor for CordovaCommandResult
Date Tue, 12 Feb 2013 19:33:07 GMT
[windowsphone] modulemapper refactor for CordovaCommandResult

https://issues.apache.org/jira/browse/CB-2227


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

Branch: refs/heads/symbolmapping
Commit: 8bc97c3c2b72528214604b3b78c1af03a2177d38
Parents: b0b6259
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Jan 25 16:02:25 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Feb 12 14:24:34 2013 -0500

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


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/8bc97c3c/lib/windowsphone/platform.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js
index 2fb103c..449a954 100644
--- a/lib/windowsphone/platform.js
+++ b/lib/windowsphone/platform.js
@@ -30,6 +30,8 @@ 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
@@ -39,9 +41,6 @@ module.exports = {
         };
     },
     clobbers: {
-        CordovaCommandResult: {
-            path:"cordova/plugin/windowsphone/CordovaCommandResult"
-        },
         FileTransfer: {
             path: 'cordova/plugin/windowsphone/FileTransfer'
         },


Mime
View raw message