[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

@@ -7,16 +7,16 @@
<script type="module" src="../min.js"></script>
</head>
<body>
<script type="py">
<script type="pyodide">
# define a "global" variable and print it
shared_env = 1
print(shared_env)
</script>
<script type="py">
<script type="pyodide">
# just print the "global" variable from same env
print(shared_env)
</script>
<script type="py" env="another-one">
<script type="pyodide" env="another-one">
# see the error
print(shared_env)
</script>