TEMPORARY: add testing example

This commit is contained in:
Ben Merritt
2019-06-05 22:58:11 -07:00
parent 7dabad4d71
commit 77cd3adb01
5 changed files with 42 additions and 5 deletions

20
test.html Normal file
View File

@@ -0,0 +1,20 @@
<!doctype html>
<html>
<head>
<script type="module">
import { default as init } from './window.js';
async function run() {
console.log("Loading");
await init('./window_bg.wasm');
console.log("Loaded");
}
run();
</script>
</head>
<body>
<canvas id="test_canvas"></canvas>
</body>
</html>