diff options
Diffstat (limited to 'js/test/Ice/facets/Client.js')
-rw-r--r-- | js/test/Ice/facets/Client.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/test/Ice/facets/Client.js b/js/test/Ice/facets/Client.js index 4ef4e0b07fd..aa8e6cc876f 100644 --- a/js/test/Ice/facets/Client.js +++ b/js/test/Ice/facets/Client.js @@ -11,7 +11,6 @@ { var Ice = require("ice").Ice; var Test = require("Test").Test; - var Promise = Ice.Promise; var allTests = function(out, communicator) @@ -257,5 +256,5 @@ exports.__runServer__ = true; } (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)); |