Use registerJSModule when available (#1573)

This commit is contained in:
Andrea Giammarchi
2023-06-29 22:50:35 +02:00
committed by GitHub
parent 7813c3f03f
commit a14e701be4
24 changed files with 81 additions and 25 deletions

View File

@@ -10,6 +10,7 @@
</head>
<body>
<script type="micropython">
from xworker import XWorker
w = XWorker('./matplot.py', **{'type': 'pyodide', 'config': './config.toml'})
# xworker.window made the following completely unnecessary