Skip to content

Commit 8594309

Browse files
committed
Add an await statement in test standalone doc.
1 parent 1645f6c commit 8594309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/standalone/monaco-pyodide-dependency-bug.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
// init Pyodide
4343
async function main() {
44-
const dpyodide = import("https://cdn.jsdelivr.net/npm/pyodide@0.25.0/pyodide.mjs").then(
44+
const dpyodide = await import("https://cdn.jsdelivr.net/npm/pyodide@0.25.0/pyodide.mjs").then(
4545
async ({loadPyodide}) => {
4646
const pyodideProcess = await loadPyodide(
4747
{indexURL: "https://cdn.jsdelivr.net/npm/pyodide@0.25.0/"}

0 commit comments

Comments
 (0)