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