You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
465 B
16 lines
465 B
6 months ago
|
<!DOCTYPE html>
|
||
|
<script src="wasm_exec.js"></script>
|
||
|
|
||
|
<script>
|
||
|
if (!WebAssembly.instantiateStreaming) {
|
||
|
WebAssembly.instantiateStreaming = async (resp, importObject) => {
|
||
|
const source = await (await resp).arrayBuffer();
|
||
|
return await WebAssembly.instantiate(source, importObject);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
const go = new Go();
|
||
|
WebAssembly.instantiateStreaming(fetch("capyclick.wasm"), go.importObject).then(result => {
|
||
|
go.run(result.instance);
|
||
|
});
|
||
|
</script>
|