summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/webhogg/graphics.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebInterface/wasm/webhogg/graphics.js')
-rw-r--r--WebInterface/wasm/webhogg/graphics.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/WebInterface/wasm/webhogg/graphics.js b/WebInterface/wasm/webhogg/graphics.js
new file mode 100644
index 0000000..f3bab19
--- /dev/null
+++ b/WebInterface/wasm/webhogg/graphics.js
@@ -0,0 +1,6 @@
+import {default as init_r} from './webhogg.js'
+import {init_x} from './webhogg.js'
+
+let module = init_r('./pkg/webhogg_bg.wasm');
+
+init_x(module, 'graphics', null);