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

[36/37] js commit: [win8] modulemapper refactor for commandProxy.

[win8] modulemapper refactor for commandProxy.

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

Branch: refs/heads/symbolmapping
Commit: fa7ffb022892f1a6c8bcb986d02b188646e27ef6
Parents: c7f972a
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 25 15:55:15 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jan 28 19:57:05 2013 -0500

----------------------------------------------------------------------
 lib/windows8/platform.js |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/fa7ffb02/lib/windows8/platform.js
----------------------------------------------------------------------
diff --git a/lib/windows8/platform.js b/lib/windows8/platform.js
index f4a8d8f..cda44ea 100755
--- a/lib/windows8/platform.js
+++ b/lib/windows8/platform.js
@@ -48,6 +48,8 @@ module.exports = {
         var modulemapper = require('cordova/modulemapper');
 
         modulemapper.loadMatchingModules(/cordova.*\/symbols$/);
+        modulemapper.clobbers('/cordova/commandProxy', 'cordova.commandProxy');
+
         modulemapper.mapModules(window);
 
         window.alert = window.alert || require("cordova/plugin/notification").alert;
@@ -81,15 +83,5 @@ module.exports = {
         else {
             onWinJSReady();
         }
-    },
-    clobbers: {
-        cordova: {
-            path: 'cordova',
-            children: {
-                commandProxy: {
-                    path: 'cordova/commandProxy'
-                }
-            }
-        }
     }
 };