aboutsummaryrefslogtreecommitdiff
path: root/node_modules/montage/require/browser.js
diff options
context:
space:
mode:
authorArmen Kesablyan2012-06-20 15:16:30 -0700
committerArmen Kesablyan2012-06-20 15:16:30 -0700
commit65b989c7759af923fb9456d34bff89f91831ea1e (patch)
treee408be732a3eee71229bfc7dbf7cace998ce18de /node_modules/montage/require/browser.js
parent38f571d1fdf02d36c3816637af7b2ca2493809da (diff)
parentfc818d31de267d2b77fda3b3029ad38d48698be8 (diff)
downloadninja-65b989c7759af923fb9456d34bff89f91831ea1e.tar.gz
Merge branch 'refs/heads/master' into binding
Conflicts: node_modules/montage/ui/application.js Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'node_modules/montage/require/browser.js')
-rwxr-xr-xnode_modules/montage/require/browser.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/node_modules/montage/require/browser.js b/node_modules/montage/require/browser.js
index a6a8af5a..1b4029ad 100755
--- a/node_modules/montage/require/browser.js
+++ b/node_modules/montage/require/browser.js
@@ -17,7 +17,7 @@ Require.getLocation = function() {
17 return URL.resolve(window.location, "."); 17 return URL.resolve(window.location, ".");
18}; 18};
19 19
20Require.overlays = ["browser", "montage"]; 20Require.overlays = ["window", "browser", "montage"];
21 21
22// Due to crazy variabile availability of new and old XHR APIs across 22// Due to crazy variabile availability of new and old XHR APIs across
23// platforms, this implementation registers every known name for the event 23// platforms, this implementation registers every known name for the event
@@ -116,8 +116,6 @@ Require.Compiler = function (config) {
116 // module.factory = new Function("require", "exports", "module", module.text + "\n//*/"+sourceURLComment); 116 // module.factory = new Function("require", "exports", "module", module.text + "\n//*/"+sourceURLComment);
117 117
118 module.factory.displayName = displayName; 118 module.factory.displayName = displayName;
119
120 return module;
121 } 119 }
122}; 120};
123 121