From 3de466023aeac7013dbd5321c33dea523094ab13 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 17 Apr 2018 14:49:06 -0400 Subject: [PATCH] console.warn rather than alert --- src/pyodide.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pyodide.js b/src/pyodide.js index 25ce8e7e8..2f147ee86 100644 --- a/src/pyodide.js +++ b/src/pyodide.js @@ -10,7 +10,8 @@ var languagePluginLoader = new Promise((resolve, reject) => { if (wasmXHR.status === 200 || wasmXHR.status === 0) { Module.wasmBinary = wasmXHR.response; } else { - alert(`Couldn't download the pyodide.asm.wasm binary. Response was ${wasmXHR.status}`); + console.warn( + `Couldn't download the pyodide.asm.wasm binary. Response was ${wasmXHR.status}`); reject(); }