mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2025-01-08 14:13:51 +03:00
docs: fix typo and grammar in browser-support (#2515)
This commit is contained in:
parent
3cefe2c824
commit
862e13defa
@ -20,9 +20,10 @@ also like to be aware of it!
|
|||||||
that at this time no bundler will do this by default, but we'd love to
|
that at this time no bundler will do this by default, but we'd love to
|
||||||
document plugins which do this if you are aware of one!
|
document plugins which do this if you are aware of one!
|
||||||
|
|
||||||
* **Edge before 79+** - the `TextEncoder` and `TextDecoder` APIs where not
|
* **Edge before 79+** - the `TextEncoder` and `TextDecoder` APIs, which
|
||||||
available in Edge which `wasm-bindgen` uses to encode/decode strings between
|
`wasm-bindgen` uses to encode/decode strings between JS and Rust, were not
|
||||||
JS and Rust. You can polyfill this with at least one of two strategies:
|
available before version 79. You can polyfill this with at least one of two
|
||||||
|
strategies:
|
||||||
|
|
||||||
1. If using a bundler, you can likely configure the bundler to polyfill these
|
1. If using a bundler, you can likely configure the bundler to polyfill these
|
||||||
types by default. For example if you're using Webpack you can use the
|
types by default. For example if you're using Webpack you can use the
|
||||||
|
Loading…
Reference in New Issue
Block a user