remove global usage for wasm
ProxmoxAAS-Dashboard Code Style Check / lint-check (push) Successful in 16s
ProxmoxAAS-Dashboard Code Style Check / lint-check (push) Successful in 16s
This commit is contained in:
+1
-1
@@ -560,7 +560,7 @@ export default function init (path) {
|
||||
const wasm = obj.instance;
|
||||
global.wfa = wasm
|
||||
go.run(wasm);
|
||||
res()
|
||||
res(wasm)
|
||||
}
|
||||
if ('instantiateStreaming' in WebAssembly) {
|
||||
WebAssembly.instantiateStreaming(fetch(path), go.importObject).then(function (obj) {
|
||||
|
||||
Reference in New Issue
Block a user