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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user