1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-12 20:41:24 +00:00
Files
wasm-bindgen/examples/todomvc/index.js
2019-08-27 18:20:24 +01:00

8 lines
171 B
JavaScript

// For more comments about what's going on here, check out the `hello_world`
// example
const rust = import('./pkg');
rust
.then(m => m.run())
.catch(console.error);