diff options
Diffstat (limited to 'src/js/wasm.js-post.js')
-rw-r--r-- | src/js/wasm.js-post.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/wasm.js-post.js b/src/js/wasm.js-post.js index 539397ca6..7f36776b8 100644 --- a/src/js/wasm.js-post.js +++ b/src/js/wasm.js-post.js @@ -119,7 +119,7 @@ function integrateWasmJS(Module) { info['global'] = { 'Math': global.Math }; info['env'] = env; var instance; - instance = Wasm.instantiateModule(binary, info); + instance = Wasm.instantiateModule(binary.buffer, info); mergeMemory(instance.memory); applyMappedGlobals(); |