diff --git a/src/pyodide.js b/src/pyodide.js index 492570738..a0756e67f 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -228,6 +228,9 @@ var languagePluginLoader = new Promise((resolve, reject) => { let script = document.createElement('script'); script.src = `${baseURL}pyodide.asm.js`; script.onload = () => { + // The emscripten module needs to be at this location for the core + // filesystem to install itself. Once that's complete, it will be replaced + // by the call to `makePublicAPI` with a more limited public API. window.pyodide = pyodide(Module); window.pyodide.loadPackage = loadPackage; };