Commit f63ea229 authored by Romain Casati's avatar Romain Casati
Browse files

Lint.

parent 514ef9ff
...@@ -269,7 +269,7 @@ var Basthon = (function() { ...@@ -269,7 +269,7 @@ var Basthon = (function() {
const url = that.basthonRoot + "/pyodide/pyodide.js"; const url = that.basthonRoot + "/pyodide/pyodide.js";
await that.xhr({method: "HEAD", url: url}); await that.xhr({method: "HEAD", url: url});
that._pyodideUrl = url; that._pyodideUrl = url;
} catch {} } catch (e) {}
// forcing Pyodide to look at the right location for other files // forcing Pyodide to look at the right location for other files
window.languagePluginUrl = that._pyodideUrl.substr(0, that._pyodideUrl.lastIndexOf('/')) + '/'; window.languagePluginUrl = that._pyodideUrl.substr(0, that._pyodideUrl.lastIndexOf('/')) + '/';
......
Supports Markdown
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