aboutsummaryrefslogtreecommitdiffstats
path: root/site/wasm.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'site/wasm.mjs')
-rw-r--r--site/wasm.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/wasm.mjs b/site/wasm.mjs
new file mode 100644
index 0000000..29a2741
--- /dev/null
+++ b/site/wasm.mjs
@@ -0,0 +1,7 @@
+import init from './wasm/polyring.js';
+
+async function loaded() {
+ await init();
+}
+
+document.addEventListener('DOMContentLoaded', loaded);