summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'WebInterface/wasm/asm-paint/index.html')
-rw-r--r--WebInterface/wasm/asm-paint/index.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/WebInterface/wasm/asm-paint/index.html b/WebInterface/wasm/asm-paint/index.html
index 424255b..a0264cf 100644
--- a/WebInterface/wasm/asm-paint/index.html
+++ b/WebInterface/wasm/asm-paint/index.html
@@ -1,14 +1,10 @@
<!doctype html>
<html>
- <header>
+ <head>
+ <meta charset="UTF-8">
<title> Scribblio </title>
- <script>
-var importObject = { imports: { imported_func: arg => console.log(arg) } };
-
-WebAssembly.instantiateStreaming(fetch('pkg/asm_paint_bg.wasm'), importObject)
-.then(obj => obj.instance.exports.exported_func());
- </script>
- </header>
+ <script src='loader.js'></script>
+ </head>
<body>
</body>
</html>