Skip to content

Commit a51b920

Browse files
committed
0.13.0
1 parent 3597694 commit a51b920

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyscript",
3-
"version": "0.12.15",
3+
"version": "0.13.0",
44
"description": "PyScript single core to rule them all",
55
"main": "./cjs/index.js",
66
"types": "./types/polyscript/esm/index.d.ts",

test/integration/interpreter/micropython/storage.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@
1212
<script type="micropython" async>
1313
from polyscript import storage
1414

15-
map = await storage("@polyscript/storage")
15+
store = await storage("@polyscript/storage")
1616

1717
# just a devtools console check
1818
# it is true on refresh
19-
print(map.get("main") == True, map.size)
19+
print(store.get("main") == True, store.size)
2020

21-
map.set("main", True)
21+
store.set("main", True)
2222

2323
import js
2424
js.document.documentElement.classList.add(f"main")
2525
</script>
2626
<script type="micropython" worker async>
2727
from polyscript import xworker, storage
2828

29-
map = await storage("@polyscript/storage")
29+
store = await storage("@polyscript/storage")
3030

3131
# just a devtools console check
3232
# it is true on refresh
33-
print(map.get("worker") == True, map.size)
33+
print(store.get("worker") == True, store.size)
3434

35-
map.set("worker", True)
35+
store.set("worker", True)
3636

3737
xworker.window.document.documentElement.classList.add(f"worker")
3838
</script>

0 commit comments

Comments
 (0)