We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f0775 commit 022bb05Copy full SHA for 022bb05
n-body/asconfig.json
@@ -2,7 +2,6 @@
2
"options": {
3
"runtime": "stub",
4
"initialMemory": 17,
5
- "noExportMemory": true,
6
"sourceMap": true
7
},
8
"targets": {
n-body/build/as_nbody.wasm
9 Bytes
n-body/index.html
@@ -41,8 +41,7 @@ <h1>
41
.then(response => response.arrayBuffer())
42
.then(buffer => WebAssembly.instantiate(buffer, {
43
env: {
44
- memory: new WebAssembly.Memory({ initial: 1 }),
45
- abort: function() { throw Error("abort called"); }
+ abort() { throw Error("abort called"); }
46
}
47
}))
48
.then(module => {
0 commit comments