aboutsummaryrefslogtreecommitdiffstats
path: root/site/wasm.mjs
diff options
context:
space:
mode:
authorbrian cully <bjc@spork.org>2025-12-27 14:33:52 -0500
committerbrian cully <bjc@spork.org>2025-12-27 14:33:52 -0500
commitc182d8179ddd382543b7e56f46e78bf6a6724b2a (patch)
tree0bc2f2e45ec99711110b4d6b463e472312c6224c /site/wasm.mjs
parentb35fd970e93a5bb4290134f842ac4f7e00a177b2 (diff)
downloadpolyring-c182d8179ddd382543b7e56f46e78bf6a6724b2a.tar.gz
polyring-c182d8179ddd382543b7e56f46e78bf6a6724b2a.zip
dispatch wasm/pure based on query part of url
Diffstat (limited to 'site/wasm.mjs')
-rw-r--r--site/wasm.mjs7
1 files changed, 1 insertions, 6 deletions
diff --git a/site/wasm.mjs b/site/wasm.mjs
index 29a2741..e11f642 100644
--- a/site/wasm.mjs
+++ b/site/wasm.mjs
@@ -1,7 +1,2 @@
import init from './wasm/polyring.js';
-
-async function loaded() {
- await init();
-}
-
-document.addEventListener('DOMContentLoaded', loaded);
+export default init;