summaryrefslogtreecommitdiff
path: root/js/src/Ice/AsyncStatus.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/Ice/AsyncStatus.js')
-rw-r--r--js/src/Ice/AsyncStatus.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/js/src/Ice/AsyncStatus.js b/js/src/Ice/AsyncStatus.js
index e8d3142bcf9..361cb769ec0 100644
--- a/js/src/Ice/AsyncStatus.js
+++ b/js/src/Ice/AsyncStatus.js
@@ -7,9 +7,6 @@
//
// **********************************************************************
-(function(global){
- var Ice = global.Ice || {};
- var AsyncStatus = {Queued: 0, Sent: 1};
- Ice.AsyncStatus = AsyncStatus;
- global.Ice = Ice;
-}(typeof (global) === "undefined" ? window : global));
+var Ice = require("../Ice/ModuleRegistry").Ice;
+Ice.AsyncStatus = {Queued: 0, Sent: 1};
+module.exports.Ice = Ice;