wasm-bindgen/examples/paint
Alex Crichton 56400c3738 Don't use path dependencies in examples
This commit updates all examples to not use `path` dependencies but
rather use versioned dependencies like would typically be found in the
wild. This should hopefully make the examples more copy-pastable and
less alien to onlookers!

The development of the examples remains the same where they continue to
use the `wasm-bindgen`, `js-sys`, `web-sys`, etc from in-tree. The
workspace-level `[patch]` section ensures that they use the in-tree
versions instead of the crates.io versions.
2018-11-07 11:27:43 -08:00
..
src Switch Closure::new to wrap in paint example 2018-10-03 09:53:55 -07:00
.gitignore Add paint example 2018-09-13 02:10:36 +03:00
build.sh Promote CI jobs to using stable Rust 2018-10-28 13:28:02 -07:00
Cargo.toml Don't use path dependencies in examples 2018-11-07 11:27:43 -08:00
index.html Add paint example 2018-09-13 02:10:36 +03:00
index.js Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
package.json Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -07:00
README.md Build examples and deploy to gh-pages 2018-09-20 20:55:02 -07:00
webpack.config.js Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -07:00

Paint Example

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:8080 in a browser should run the example!