diff --git a/n-body/asconfig.json b/n-body/asconfig.json index 66f39fd..a84e299 100644 --- a/n-body/asconfig.json +++ b/n-body/asconfig.json @@ -2,7 +2,6 @@ "options": { "runtime": "stub", "initialMemory": 17, - "noExportMemory": true, "sourceMap": true }, "targets": { diff --git a/n-body/build/as_nbody.wasm b/n-body/build/as_nbody.wasm index ed87593..b86c140 100644 Binary files a/n-body/build/as_nbody.wasm and b/n-body/build/as_nbody.wasm differ diff --git a/n-body/index.html b/n-body/index.html index 9fdc23d..6080552 100644 --- a/n-body/index.html +++ b/n-body/index.html @@ -41,8 +41,7 @@

.then(response => response.arrayBuffer()) .then(buffer => WebAssembly.instantiate(buffer, { env: { - memory: new WebAssembly.Memory({ initial: 1 }), - abort: function() { throw Error("abort called"); } + abort() { throw Error("abort called"); } } })) .then(module => {