[next] Ditch handy shortcuts for good (#1537)

This commit is contained in:
Andrea Giammarchi
2023-06-15 17:08:28 +02:00
committed by GitHub
parent 6284c02032
commit 6df5905b2b
33 changed files with 101 additions and 84 deletions

View File

@@ -9,7 +9,7 @@
<script type="module" src="../min.js"></script>
</head>
<body>
<script type="mpy">
<script type="micropython">
from js import XWorker
def show_image(event):
@@ -19,7 +19,7 @@
img.src = event.data
document.body.appendChild(img)
w = XWorker('./matplot.py', **{'type': 'py', 'config': './config.toml'})
w = XWorker('./matplot.py', **{'type': 'pyodide', 'config': './config.toml'})
w.onmessage = show_image
</script>
</body>