1
0
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:
Emil Ernerfeldt
2019-03-16 12:55:42 +01:00
parent 01862d07ae
commit e1652bef77
11 changed files with 117 additions and 102 deletions

View File

@@ -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;