summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/wasm.js-post.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/wasm.js-post.js b/src/js/wasm.js-post.js
index caeadf837..347f85923 100644
--- a/src/js/wasm.js-post.js
+++ b/src/js/wasm.js-post.js
@@ -127,7 +127,7 @@ function integrateWasmJS(Module) {
info['global'] = { 'Math': global.Math };
info['env'] = env;
var instance;
- instance = Wasm.instantiateModule(binary.buffer, info);
+ instance = Wasm.instantiateModule(binary, info);
mergeMemory(instance.memory);
applyMappedGlobals();