mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Rename example app to example_wasm
This commit is contained in:
@@ -41,13 +41,13 @@
|
||||
</script>
|
||||
|
||||
<!-- this is the JS generated by the `wasm-bindgen` CLI tool -->
|
||||
<script src="example.js"></script>
|
||||
<script src="example_wasm.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_bg.wasm")
|
||||
wasm_bindgen("./example_wasm_bg.wasm")
|
||||
.then(on_wasm_loaded)["catch"](console.error);
|
||||
// ----------------------------------------------------------------------------
|
||||
var g_wasm_app = null;
|
||||
|
||||
Reference in New Issue
Block a user