summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-21 21:16:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-21 21:16:27 -0800
commit3ab1d2c459ed6a235ba04c4ec70ff654530a7de9 (patch)
tree1743928b6baa2853418b49d08ec1190537386977 /src/js
parent021e145f74b217aa83d088d3da32692c79fcc80d (diff)
downloadbinaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.tar.gz
binaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.tar.bz2
binaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.zip
spacing
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;
}