1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Combine demo_glium and demo_web into one egui_demo crate

This commit is contained in:
Emil Ernerfeldt
2020-12-19 21:30:51 +01:00
parent fb941cf618
commit d0f6954900
19 changed files with 93 additions and 111 deletions

View File

@@ -56,13 +56,13 @@
</script>
<!-- this is the JS generated by the `wasm-bindgen` CLI tool -->
<script src="demo_web.js"></script>
<script src="egui_demo.js"></script>
<script>
// We'll defer our execution until the wasm is ready to go.
// Here we tell bindgen the path to the wasm file so it can start
// initialization and return to us a promise when it's done.
wasm_bindgen("./demo_web_bg.wasm")
wasm_bindgen("./egui_demo_bg.wasm")
.then(on_wasm_loaded)["catch"](console.error);
function on_wasm_loaded() {