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 82ca5dc commit 7083e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/test/lib/src/runner/browser/static/run_wasm_chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
instantiatedModule.invokeMain();
} else {
// Version (2).
let dartInstance = await dart2wasm.instantiate(compiledModule, {});
await dart2wasm.invoke(dartInstance);
let dartInstance = await dart2wasmJsRuntime.instantiate(compiledModule, {});
await dart2wasmJsRuntime.invoke(dartInstance);
}
} else {
// Version (1).
Expand Down

0 comments on commit 7083e10

Please sign in to comment.