summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/post.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/post.js b/src/js/post.js
index 5a2bc7922..eda57a299 100644
--- a/src/js/post.js
+++ b/src/js/post.js
@@ -1,5 +1,6 @@
function integrateWasmJS(Module) {
+
if (typeof WASM === 'object') {
// Provide an "asm.js function" for the application, called to "link" the asm.js module. We instantiate
// the wasm module at that time, and it receives imports and provides exports and so forth, the app
@@ -30,6 +31,7 @@ function integrateWasmJS(Module) {
return instance;
};
+
return;
}