diff options
author | Joe George <joe@zeroc.com> | 2017-06-07 15:51:03 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2017-06-07 15:51:03 -0400 |
commit | 91b3c60fd94105ce5742e6373f290739b6ce831b (patch) | |
tree | f27602fb7306633176ae8e278ce5464cc6b66420 | |
parent | Fix some whitespace and typo in Proxy.h (diff) | |
download | ice-91b3c60fd94105ce5742e6373f290739b6ce831b.tar.bz2 ice-91b3c60fd94105ce5742e6373f290739b6ce831b.tar.xz ice-91b3c60fd94105ce5742e6373f290739b6ce831b.zip |
Remove trailing whitespace
-rw-r--r-- | js/test/Common/ControllerI.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/test/Common/ControllerI.js b/js/test/Common/ControllerI.js index c8f15eda70a..9c32b492b89 100644 --- a/js/test/Common/ControllerI.js +++ b/js/test/Common/ControllerI.js @@ -127,7 +127,7 @@ class ProcessControllerI extends Test.Common.ProcessController if(this._useWorker) { let scripts = this._scripts; - promise = new Promise((resolve, reject) => + promise = new Promise((resolve, reject) => { let worker; if(document.location.pathname.indexOf("/es5/") !== -1) @@ -139,7 +139,7 @@ class ProcessControllerI extends Test.Common.ProcessController worker = new Worker("/test/Common/ControllerWorker.js"); } this._worker = worker; - worker.onmessage = function(e) + worker.onmessage = function(e) { if(e.data.type == "write") { @@ -258,7 +258,7 @@ function runController(clientOutput, serverOutput, scripts) connection => out.writeLine("connection with process controller registry closed")); return registry.setProcessController(Test.Common.ProcessControllerPrx.uncheckedCast(processController)); }).catch( - ex => + ex => { if(ex instanceof Ice.ConnectFailedException) { @@ -275,14 +275,14 @@ function runController(clientOutput, serverOutput, scripts) let str = "Util/ProcessControllerRegistry:" + protocol + " -h 127.0.0.1 -p " + port; let registry = Test.Common.ProcessControllerRegistryPrx.uncheckedCast(comm.stringToProxy(str)); comm.createObjectAdapter("").then( - adapter => + adapter => { let ident = new Ice.Identity("ProcessController", "Browser"); let processController = adapter.add(new ProcessControllerI(out, serverOut, worker, scripts), ident); adapter.activate(); registerProcessController(adapter, registry, processController); }).catch( - ex => + ex => { out.writeLine("unexpected exception while creating controller:\n" + ex.toString()); comm.destroy(); |