mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-13 06:44:13 +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');
|
|
});
|