1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-06-28 12:11:34 +00:00
Files
.cargo
benchmarks
ci
crates
examples
add
canvas
char
closures
console_log
dom
duck-typed-interfaces
fetch
guide-supported-types-examples
hello_world
import_js
julia_set
paint
performance
raytrace-parallel
request-animation-frame
todomvc
wasm-in-wasm
wasm2js
src
Cargo.toml
README.md
build.sh
index.html
index.js
package.json
webpack.config.js
webaudio
webgl
websockets
without-a-bundler
without-a-bundler-no-modules
.gitignore
README.md
guide
releases
src
tests
.gitattributes
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Cargo.toml
LICENSE-APACHE
LICENSE-MIT
README.md
_package.json
azure-pipelines.yml
build.rs
publish.rs
wasm-bindgen/examples/wasm2js/index.js

5 lines
133 B
JavaScript
Raw Normal View History

// Note that since we're not using `WebAssembly` we can do a synchronous import
// here!
import { run } from './pkg/wasm2js';
run();