mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 03:05:38 -05:00
Use registerJSModule when available (#1573)
This commit is contained in:
committed by
GitHub
parent
7813c3f03f
commit
a14e701be4
@@ -43,6 +43,7 @@
|
||||
display('second <py-script>')
|
||||
</py-script>
|
||||
<py-script>
|
||||
from xworker import XWorker
|
||||
# note this is late to the party simply because
|
||||
# pyodide needs to be bootstrapped in the Worker too
|
||||
XWorker('../a.py')
|
||||
|
||||
Reference in New Issue
Block a user