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