Merge pull request #1037 from WAFFO/patch-2

Revert js-sys link change, added web-sys link
This commit is contained in:
Alex Crichton 2018-11-18 09:47:42 +02:00 committed by GitHub
commit f741ccd005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# The `web-sys` Crate
The `web-sys` crate provides raw `wasm-bindgen` imports for all of the Web's
[The `web-sys` crate][web-sys] provides raw `wasm-bindgen` imports for all of the Web's
APIs. This includes:
* `window.fetch`
@ -13,11 +13,12 @@ It's sort of like the `libc` crate, but for the Web.
It does *not* include the JavaScript APIs that are guaranteed to exist in all
standards-compliant ECMAScript environments, such as `Array`, `Date`, and
`eval`. Bindings for these APIs can be found in [the `web-sys` crate][web-sys].
`eval`. Bindings for these APIs can be found in [the `js-sys` crate][js-sys].
## API Documentation
[**Read the `web-sys` API documentation here!**][api]
[api]: https://rustwasm.github.io/wasm-bindgen/api/web_sys/
[js-sys]: https://crates.io/crates/js-sys
[web-sys]: https://crates.io/crates/web-sys