mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
20 lines
357 B
HTML
20 lines
357 B
HTML
<!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> |