wasm-bindgen/examples/guide-supported-types-examples
Alex Crichton 717cfa303d Fix polyfill of TextEncoder and TextDecoder
This commit does a few things, including:

* Fixing the generated JS of `wasm-bindgen` to allow polyfills to work.
  (a minor tweak of the generated JS)

* All examples are updated to include a Webpack-specific polyfill for
  these two types to get examples working in Edge.

* A new page has been added to the guide about supported browsers. This
  mentions known caveats like IE 11 requiring `wasm2js` as well as
  documenting some `TextEncoder` and `TextDecoder` workarounds for Edge.

Closes #895
2018-09-30 10:16:20 -07:00
..
src Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -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 Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -07: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 Fix polyfill of TextEncoder and TextDecoder 2018-09-30 10:16:20 -07:00