mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-12 14:00:01 -04:00
remove init sync warning
This commit is contained in:
parent
62cea29a9f
commit
941c545d58
3 changed files with 14 additions and 14 deletions
|
@ -8,11 +8,11 @@ import {
|
|||
rewrite_js_from_arraybuffer,
|
||||
} from "../../../rewriter/out/rewriter.js";
|
||||
|
||||
initSync(
|
||||
new WebAssembly.Module(
|
||||
initSync({
|
||||
module: new WebAssembly.Module(
|
||||
Uint8Array.from(atob(self.WASM), (c) => c.charCodeAt(0))
|
||||
)
|
||||
);
|
||||
),
|
||||
});
|
||||
|
||||
init();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue