mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-27 03:55:20 +03:00
.. | ||
src | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js |
Hello, World!
This directory is an example of using the #[wasm_bindgen]
macro to create an
entry point that's called from the browser and then displays a dialog.
You can build the example locally with:
$ ./build.sh
(or running the two commands on Windows manually)
and then opening up index.html
in a web browser should show a dialog!