summaryrefslogtreecommitdiff
path: root/js/src/Ice/browser/ModuleRegistry.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/browser/ModuleRegistry.js')
-rw-r--r--js/src/Ice/browser/ModuleRegistry.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/Ice/browser/ModuleRegistry.js b/js/src/Ice/browser/ModuleRegistry.js
index ac1d676d2c4..b959026307a 100644
--- a/js/src/Ice/browser/ModuleRegistry.js
+++ b/js/src/Ice/browser/ModuleRegistry.js
@@ -10,8 +10,8 @@
/* global
self : false
*/
-const root = typeof(window) !== "undefined" ? window :
- typeof(global) !== "undefined" ? global :
+const root = typeof(window) !== "undefined" ? window :
+ typeof(global) !== "undefined" ? global :
typeof(self) !== "undefined" ? self : {};
/* global
self : true
@@ -29,12 +29,12 @@ class _ModuleRegistry
}
return m;
}
-
+
static require(name)
{
return root;
}
-
+
static type(scoped)
{
if(scoped === undefined)