From 43ffe77b751a6a100b2aaeab5cc489eb80c9e9f3 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Wed, 18 Jul 2018 18:40:26 -0400 Subject: [PATCH] Fix #78: LINT [skip ci] --- src/pyodide.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pyodide.js b/src/pyodide.js index 9424b1d06..2ec05c6c5 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -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(); + }); }; });