mirror of
https://github.com/usememos/memos.git
synced 2025-04-12 00:31:15 +02:00
chore: update gomark.wasm
This commit is contained in:
parent
cfb50f19aa
commit
ebcf43c997
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -17,8 +17,7 @@ import theme from "./theme";
|
|||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const go = new window.Go();
|
const go = new window.Go();
|
||||||
const responsePromise = fetch(gomarkWasm);
|
const { instance } = await WebAssembly.instantiateStreaming(fetch(gomarkWasm), go.importObject);
|
||||||
const { instance } = await WebAssembly.instantiateStreaming(responsePromise, go.importObject);
|
|
||||||
go.run(instance);
|
go.run(instance);
|
||||||
|
|
||||||
const container = document.getElementById("root");
|
const container = document.getElementById("root");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user