Mercurial > hg > orthanc-stone
diff Platforms/Wasm/WasmWebService.js @ 504:7cdb4634846c
Merge
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 26 Feb 2019 21:15:20 +0100 |
parents | 5055031f4a06 |
children | 1b9973905e15 |
line wrap: on
line diff
--- a/Platforms/Wasm/WasmWebService.js Thu Jan 31 19:23:12 2019 +0100 +++ b/Platforms/Wasm/WasmWebService.js Tue Feb 26 21:15:20 2019 +0100 @@ -24,10 +24,10 @@ // TODO - Is "new Uint8Array()" necessary? This copies the // answer to the WebAssembly stack, hence necessitating // increasing the TOTAL_STACK parameter of Emscripten - WasmWebService_NotifySuccess(callableSuccess, url_, new Uint8Array(this.response), + window.WasmWebService_NotifySuccess(callableSuccess, url_, new Uint8Array(this.response), this.response.byteLength, headers, payload); } else { - WasmWebService_NotifyError(callableFailure, url_, payload); + window.WasmWebService_NotifyError(callableFailure, url_, payload); } } }