mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-11-30 22:25:35 +03:00
bc36b6f84b
Some examples have been failing to load in some browsers, and this ensures that whenever the promise to load Rust code fails we log any errors happening instead of accidentally failing silently. This helped debug a bit in #897 |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.sh | ||
Cargo.toml | ||
index.html | ||
index.js | ||
package.json | ||
README.md | ||
webpack.config.js |
web-sys: performance.now
View documentation for this example online or View compiled example online
You can build the example locally with:
$ ./build.sh
(or running the commands on Windows manually)
and then visiting http://localhost:8080 in a browser should run the example!