diff options
Diffstat (limited to 'webhogg/wasm')
-rw-r--r-- | webhogg/wasm/index.html | 11 | ||||
-rw-r--r-- | webhogg/wasm/pkg/main.js | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/webhogg/wasm/index.html b/webhogg/wasm/index.html new file mode 100644 index 0000000..eae1cc2 --- /dev/null +++ b/webhogg/wasm/index.html @@ -0,0 +1,11 @@ +<!doctype html> +<html> + <head> + <meta charset='utf-8'/> + <title>webhogg</title> + </head> + <body> + <canvas id='c'>your browser is incompetent</canvas> + <script src='pkg/main.js'></script> + </body> +</html> diff --git a/webhogg/wasm/pkg/main.js b/webhogg/wasm/pkg/main.js new file mode 100644 index 0000000..f80fabb --- /dev/null +++ b/webhogg/wasm/pkg/main.js @@ -0,0 +1 @@ +let data = fetch('bin/webhogg-wasm_bg.wasm'); |