wasm-bindgen/examples/hello_world
2018-03-02 20:32:48 -08:00
..
src Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
.gitignore Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
build.sh Add some comments to the hello-world example 2018-03-02 20:32:48 -08:00
Cargo.toml Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
index.html Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
index.js Add some comments to the hello-world example 2018-03-02 20:32:48 -08:00
package.json Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
README.md Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00
webpack.config.js Rewrite the README using Webpack 2018-03-02 20:12:00 -08:00

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 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!