You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gt...@apache.org on 2013/02/27 22:09:56 UTC

[7/31] js commit: [windowsphone] modulemapper refactor for CordovaCommandResult

[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/82fa0937
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/82fa0937
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/82fa0937

Branch: refs/heads/next
Commit: 82fa093749ab065b0bb01a5f3a15ffbfdac725a9
Parents: 2484bf2
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 16:02:25 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Feb 20 15:13:26 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/82fa0937/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'
         },