summaryrefslogtreecommitdiff
path: root/js/test/Ice/promise/Client.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/test/Ice/promise/Client.js')
-rw-r--r--js/test/Ice/promise/Client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/test/Ice/promise/Client.js b/js/test/Ice/promise/Client.js
index bcc42aa9550..7a6b4a2efb5 100644
--- a/js/test/Ice/promise/Client.js
+++ b/js/test/Ice/promise/Client.js
@@ -901,5 +901,5 @@
exports.__test__ = run;
}
(typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? module : undefined,
- typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? require : window.Ice.__require,
- typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? exports : window));
+ typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? require : this.Ice.__require,
+ typeof(global) !== "undefined" && typeof(global.process) !== "undefined" ? exports : this));