Skip to content

support different pyodide versions #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
May 11, 2022
Prev Previous commit
Next Next commit
define type for config
  • Loading branch information
fpliger committed May 10, 2022
commit e5e6b7473d8b3c74ae9b4b29d9c332dbe4f6e61b
3 changes: 1 addition & 2 deletions pyscriptjs/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ const xPyWidget = customElements.define('py-register-widget', PyWidget);
const xPyLoader = customElements.define('py-loader', PyLoader);
const xPyConfig = customElements.define('py-config', PyConfig);


// As first thing, loop for application configs
const config = document.querySelector('py-config');
const config: PyConfig = document.querySelector('py-config');
if (!config){
const loader = document.createElement('py-config');
document.body.append(loader);
Expand Down