add file input to load cart from filesystem

This commit is contained in:
dranke committed 2021-11-02 23:27:46 +01:00
1 parent a39226b908
commit b34ff18a60
4 files changed
+102 -53

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
<body>
<canvas id="screen" width="320" height="256"></canvas>
<div id="message"></div>
<input id="cart" type="file" accept=".wasm,.uw8,application/wasm">
<script type="module">
import "./main.js";
</script>