You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2013/02/25 14:40:49 UTC
[34/50] js commit: Revert "[windowsphone] modulemapper refactor for
CordovaCommandResult"
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/multipart_plugin_result
Commit: c59a6b178a93c5108b2495a61a7f4922b4024024
Parents: f88c86b
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Feb 21 07:54:29 2013 -0500
Committer: Andrew Grieve <ag...@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'
},