From 2b7153f6e0193277ac82507f7ddf1e3c98a8805b Mon Sep 17 00:00:00 2001 From: MaxGraey Date: Thu, 11 Aug 2022 16:00:50 +0300 Subject: [PATCH] fix --- n-body/asconfig.json | 1 - n-body/build/as_nbody.wasm | Bin 1780 -> 1789 bytes n-body/index.html | 3 +-- 3 files changed, 1 insertion(+), 3 deletions(-) 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 ed87593b283c80e605b7ff13ce74f80fd5d1b0e8..b86c1402cf9ea727fe5a1cdc54133e4113e653a4 100644 GIT binary patch delta 54 zcmeyu`bbOJ-hX2?H}raYpKYKc>RN+kn3TW)G@eo-Y8 J!^Wl}HUPme5D5SP delta 45 zcmey%`-OKxf|4Q&OJ-hX2?H}raYpKYKc>RN+kpP#_l3E06Yl| AUH||9 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 => {