mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-31 01:11:06 +00:00
Merge pull request #1037 from WAFFO/patch-2
Revert js-sys link change, added web-sys link
This commit is contained in:
commit
f741ccd005
@ -1,6 +1,6 @@
|
|||||||
# The `web-sys` Crate
|
# 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:
|
APIs. This includes:
|
||||||
|
|
||||||
* `window.fetch`
|
* `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
|
It does *not* include the JavaScript APIs that are guaranteed to exist in all
|
||||||
standards-compliant ECMAScript environments, such as `Array`, `Date`, and
|
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
|
## API Documentation
|
||||||
|
|
||||||
[**Read the `web-sys` API documentation here!**][api]
|
[**Read the `web-sys` API documentation here!**][api]
|
||||||
|
|
||||||
[api]: https://rustwasm.github.io/wasm-bindgen/api/web_sys/
|
[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
|
[web-sys]: https://crates.io/crates/web-sys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user