wasm-bindgen/examples/guide-supported-types-examples
Alex Crichton 3efe51eb8b Reorganize and rewrite examples
This commit is a large-ish scale reorganization of our examples. The
main goal here is to have a dedicated section of the guide for example,
and all examples will be listed there. Each example's `README` is now
just boilerplate pointing at the guide along with a blurb about how to
run it.

Some examples like `math` and `smorgasboard` have been deleted as they
didn't really serve much purpose, and others like `closures` have been
rewritten with `web-sys` instead of hand-bound bindings.

Overall it's hoped that this puts us in a good and consistent state for
our examples, with all of them being described in the guide, excerpts
are in the guide, and they're all relatively idiomatically using
`web-sys`.
2018-09-20 16:45:30 -07:00
..
src Remove use_extern_macros features 2018-08-19 14:33:01 -07:00
.gitignore guide: Start adding example usage to "supported types" section 2018-08-10 16:56:40 -07:00
bool.js guide: also allow Option<bool> 2018-08-14 17:34:16 -07:00
bootstrap.js guide: Add examples for number slices 2018-08-14 17:42:47 -07:00
boxed_js_value_slice.js guide: Add Box<[JsValue]> example to supported types section 2018-08-13 17:08:18 -07:00
boxed_number_slices.js guide: Add examples of boxed number slices 2018-08-14 17:15:01 -07:00
build.sh guide: Start adding example usage to "supported types" section 2018-08-10 16:56:40 -07:00
Cargo.toml guide: Start adding example usage to "supported types" section 2018-08-10 16:56:40 -07:00
char.js guide: Add a char example to the supported types section 2018-08-13 16:24:39 -07:00
exported_types.js guide: Add exported rust type examples to reference 2018-08-13 16:03:02 -07:00
imported_types.js guide: Add exported rust type examples to reference 2018-08-13 16:03:02 -07:00
index.js guide: Start adding example usage to "supported types" section 2018-08-10 16:56:40 -07:00
js_value.js guide: Add JsValue example to supported types section 2018-08-13 16:57:29 -07:00
number_slices.js guide: Add examples for number slices 2018-08-14 17:42:47 -07:00
numbers.js guide: Add examples for working with numbers to types section 2018-08-14 15:45:25 -07:00
package.json Examples: use html-webpack-plugin 2018-09-11 08:42:22 +03:00
pointers.js guide: Add working with pointers example to types section 2018-08-14 15:24:43 -07:00
str.js guide: Add str examples to supported types section 2018-08-13 16:12:58 -07:00
string.js guide: add String example usage to supported types 2018-08-13 16:20:25 -07:00
webpack.config.js Examples: use html-webpack-plugin 2018-09-11 08:42:22 +03:00