diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-21 21:16:27 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-21 21:16:27 -0800 |
commit | 3ab1d2c459ed6a235ba04c4ec70ff654530a7de9 (patch) | |
tree | 1743928b6baa2853418b49d08ec1190537386977 /src/js | |
parent | 021e145f74b217aa83d088d3da32692c79fcc80d (diff) | |
download | binaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.tar.gz binaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.tar.bz2 binaryen-3ab1d2c459ed6a235ba04c4ec70ff654530a7de9.zip |
spacing
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/post.js | 2 |
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; } |