Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Oct 1, 2024
1 parent 8802845 commit 0d62329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/test/lib/src/runner/browser/static/run_wasm_chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
// Old, deprecated API.
let modulePromise = WebAssembly.compileStreaming(fetch(data.wasmurl));
let dartInstance = await dart2wasmJsRuntime.instantiate(modulePromise, {});
await dart2wasm.invoke(dartInstance);
await dart2wasmJsRuntime.invoke(dartInstance);
}
})();

0 comments on commit 0d62329

Please sign in to comment.