wasm-bindgen/examples/wasm2js
Alex Crichton 4e19ead71b
Fix the wasm2js example (#1750)
This needed and update now that we're explicitly importing `*.wasm` to
import `*.js` instead. Additionally this was moved over to the `web`
target to avoid needing Webpack

Closes #1743
2019-09-03 16:05:23 -04:00
..
src Fix the wasm2js example (#1750) 2019-09-03 16:05:23 -04:00
build.sh Fix the wasm2js example (#1750) 2019-09-03 16:05:23 -04:00
Cargo.toml Bump to 0.2.50 2019-08-19 04:21:27 -07:00
index.html Fix the wasm2js example (#1750) 2019-09-03 16:05:23 -04:00
index.js Fix the wasm2js example (#1750) 2019-09-03 16:05:23 -04:00
README.md Fix the wasm2js example (#1750) 2019-09-03 16:05:23 -04:00

Converting WebAssembly to JS

View documentation for this example online or View compiled example online

You can build the example locally with:

$ ./build.sh

(or running the commands on Windows manually)

and then visiting http://localhost:8000 in a browser should run the example!