mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-14 20:11:37 +03:00
6 lines
135 B
JavaScript
6 lines
135 B
JavaScript
import init from './pkg/websockets.js';
|
|
|
|
window.addEventListener('load', async () => {
|
|
await init('./pkg/websockets_bg.wasm');
|
|
});
|