wasm-bindgen/examples
Alex Crichton bc36b6f84b Add catch(console.error) to all examples
Some examples have been failing to load in some browsers, and this
ensures that whenever the promise to load Rust code fails we log any
errors happening instead of accidentally failing silently.

This helped debug a bit in #897
2018-09-28 13:55:07 -07:00
..
add Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
canvas Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
char Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
closures Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
console_log Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
dom Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
duck-typed-interfaces cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
fetch Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
guide-supported-types-examples cargo +nightly fmt --all 2018-09-26 08:26:00 -07:00
hello_world Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
import_js Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
julia_set Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
no_modules Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
paint Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
performance Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
wasm2js update to "webpack-cli": "^3.1.1" 2018-09-25 18:50:27 -07:00
wasm-in-wasm Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
webaudio Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
webgl Add catch(console.error) to all examples 2018-09-28 13:55:07 -07:00
README.md Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00

Examples

This directory contains a number of Cargo projects that are all examples of how to use wasm-bindgen in various contexts. More documentation can be found online