Commit 512588c4 authored by Michael Droettboom's avatar Michael Droettboom Committed by GitHub

Merge pull request #81 from mdboom/lint

Fix #78: LINT [skip ci]
parents 81db3193 43ffe77b
......@@ -63,7 +63,7 @@ var languagePluginLoader = new Promise((resolve, reject) => {
});
if (window.iodide !== undefined) {
window.iodide.evalQueue.await([promise]);
window.iodide.evalQueue.await([ promise ]);
}
return promise;
......@@ -95,11 +95,11 @@ var languagePluginLoader = new Promise((resolve, reject) => {
Module.postRun = () => {
delete window.Module;
fetch(`${baseURL}packages.json`)
.then((response) => response.json())
.then((json) => {
window.pyodide.packages = json;
resolve();
});
.then((response) => response.json())
.then((json) => {
window.pyodide.packages = json;
resolve();
});
};
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment