winit-sonoma-fix/test.html

20 lines
357 B
HTML
Raw Normal View History

2019-06-06 15:58:11 +10:00
<!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>