8 lines
171 B
JavaScript
Raw Permalink Normal View History

2018-12-03 11:37:30 +01:00
// For more comments about what's going on here, check out the `hello_world`
// example
const rust = import('./pkg');
rust
.then(m => m.run())
2018-12-03 11:37:30 +01:00
.catch(console.error);