151acf8eb3
Add an example of importing non-browser functions
...
Closes #208
2018-05-23 12:14:12 -07:00
4ddd93d75d
add char support ( #206 )
...
* add char support
* add char test
* remove __wbindgen_char fns
* re-order travis script
* update serve script
* remove binds to unused char functions
* add more wide character items to chars list
* remove unused code
* add char to readme
* remove built file
2018-05-22 12:34:41 -05:00
dadcff15ef
Add an example of wasm2asm
and wasm-bindgen
...
This commit adds an example of executing the `wasm2asm` tool to generate asm.js
output instead of WebAssembly. This is often useful when supporting older
browsers, such as IE 11, that doesn't have native support for WebAssembly.
2018-04-30 13:29:34 -07:00
947386ee57
Add an example of a minimal wasm module
2018-04-20 22:38:22 -07:00
574e54a89d
Add an example of --no-modules
in action
2018-04-19 07:21:09 -07:00
158b95c29b
Add WebAssembly Studio links to examples/README
...
Should hopefully make it much easier to get off the ground running and
exploring!
2018-04-17 13:51:01 -07:00
a3e5485b86
Add examples/documentation for closures
2018-04-09 14:34:21 -07:00
4716752991
Add an example of namespaced APIs
...
By creating wasm modules from Rust!
2018-03-22 17:39:48 -07:00
b00f8c5a28
Add an example of the performance
API
2018-03-21 10:21:21 -07:00
758bb3c2c3
Add an example using Math
2018-03-21 10:03:40 -07:00
dd054fa357
Add an example of DOM access
2018-03-21 08:26:00 -07:00
d8e5930799
Add an example of console.log
...
Also clean up some other exampels
2018-03-09 10:25:48 -08:00
4ebb3df330
Add a smorgasboard example
2018-03-02 20:19:39 -08:00
4aa6793b9e
Rewrite the README using Webpack
...
Right now Webpack probably has the most mature support for loading wasm modules,
so let's show off how to do that! Additionally this commits hello world as an
example to the repository.
2018-03-02 20:12:00 -08:00