Commit 25dc8953 authored by Romain Casati's avatar Romain Casati
Browse files

Typos.

parent f7718d7d
......@@ -225,9 +225,7 @@ var Basthon = (function() {
that.pythonVersion = sys.version;
that.packages.init();
// reading basthon.py.js from same folder than current script
return pyodide.runPythonAsync(
"import pyodide ; pyodide.eval_code(pyodide.open_url('"
+ that.basthonRoot + "/basthon.py.js').getvalue(), globals())");
return pyodide.runPythonAsync(`import pyodide ; pyodide.eval_code(pyodide.open_url('${that.basthonRoot}/basthon.py.js').getvalue(), globals())`);
};
/**
......
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