From 83fa468df3da19e926fc00c94d96d3d8bbad046d Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 19 Sep 2018 11:34:28 -0400 Subject: [PATCH] Add comment about bootstrapping --- src/pyodide.js | 3 +++ 1 file changed, 3 insertions(+) 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; };