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/21 19:01:40 UTC

[2/10] js commit: [all] Expose the module map.

[all] Expose the module map.


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

Branch: refs/heads/master
Commit: 2e6ebcc04583483aea8b2035c49ea0604bfb006f
Parents: 1e4e198
Author: Andrew Grieve <ag...@chromium.org>
Authored: Wed Jan 16 16:32:25 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Wed Jan 16 16:33:47 2013 -0500

----------------------------------------------------------------------
 lib/scripts/require.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/2e6ebcc0/lib/scripts/require.js
----------------------------------------------------------------------
diff --git a/lib/scripts/require.js b/lib/scripts/require.js
index 3735eac..5dbc905 100644
--- a/lib/scripts/require.js
+++ b/lib/scripts/require.js
@@ -72,6 +72,7 @@ var require,
         delete modules[id];
     };
 
+    define.moduleMap = modules;
 })();
 
 //Export for use in node