mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Update loader to support environments where 'new WebAssembly.Instance' is limited, see #295
This commit is contained in:
8
lib/loader/tests/index.html
Normal file
8
lib/loader/tests/index.html
Normal file
@ -0,0 +1,8 @@
|
||||
<script>var exports = {};</script>
|
||||
<script src="../index.js"></script>
|
||||
<script>
|
||||
(async () => {
|
||||
var module = await exports.instantiateStreaming(fetch("./build/untouched.wasm"));
|
||||
console.log(module);
|
||||
})();
|
||||
</script>
|
Reference in New Issue
Block a user