mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
[refactor] rename 'example' to 'demo', and add simple example_glium
This commit is contained in:
@@ -45,13 +45,13 @@
|
||||
</script>
|
||||
|
||||
<!-- this is the JS generated by the `wasm-bindgen` CLI tool -->
|
||||
<script src="example_wasm.js"></script>
|
||||
<script src="demo_web.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("./example_wasm_bg.wasm")
|
||||
wasm_bindgen("./demo_web_bg.wasm")
|
||||
.then(on_wasm_loaded)["catch"](console.error);
|
||||
|
||||
function on_wasm_loaded() {
|
||||
|
||||
Reference in New Issue
Block a user