Make tour example work on Wasm again

This commit is contained in:
Héctor Ramón Jiménez 2019-10-23 02:34:11 +02:00
parent c7ef9d0da7
commit 6145140816
3 changed files with 23 additions and 6 deletions

View file

@ -6,8 +6,9 @@
</head>
<body>
<script type="module">
import init from "./pkg/iced_tour.js";
init("./pkg/iced_tour_bg.wasm");
import init from "./tour/tour.js";
init('./tour/tour_bg.wasm');
</script>
</body>
</html>