mirror of
https://github.com/pyscript/pyscript.git
synced 2026-03-16 01:00:04 -04:00
[next] Ditch handy shortcuts for good (#1537)
This commit is contained in:
committed by
GitHub
parent
6284c02032
commit
6df5905b2b
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user