You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/01/29 20:07:51 UTC
[32/37] 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/6a30e43b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/6a30e43b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/6a30e43b
Branch: refs/heads/symbolmapping
Commit: 6a30e43b4d246f18179a30c5e5becee9e6c0a9aa
Parents: b04b7ce
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 16:02:25 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:05 2013 -0500
----------------------------------------------------------------------
lib/windowsphone/platform.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-js/blob/6a30e43b/lib/windowsphone/platform.js
----------------------------------------------------------------------
diff --git a/lib/windowsphone/platform.js b/lib/windowsphone/platform.js
index 7a7b28a..c88a9b9 100644
--- a/lib/windowsphone/platform.js
+++ b/lib/windowsphone/platform.js
@@ -37,6 +37,8 @@ module.exports = {
var modulemapper = require('cordova/modulemapper');
modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
+ modulemapper.clobbers('/cordova/plugin/windowsphone/CordovaCommandResult', 'CordovaCommandResult');
+
modulemapper.mapModules(window);
window.alert = window.alert || require("cordova/plugin/notification").alert;
@@ -47,10 +49,5 @@ module.exports = {
backButtonChannel.onHasSubscribersChange = function() {
exec(null, null, "CoreEvents", "overridebackbutton", [this.numHandlers == 1]);
};
- },
- clobbers: {
- CordovaCommandResult: {
- path:"cordova/plugin/windowsphone/CordovaCommandResult"
- }
}
};