Skip to content

Commit 2dbafe8

Browse files
committed
update to be relative to current directory
1 parent f82d032 commit 2dbafe8

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

pyscriptjs/examples/antigravity.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</head>
99
<py-env>
1010
- paths:
11-
- antigravity.py
11+
- ./antigravity.py
1212
</py-env>
1313
<body>
1414
<b>Based on xkcd: antigravity https://xkcd.com/353/.</b>

pyscriptjs/examples/numpy_canvas_fractals.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
- numpy
8383
- sympy
8484
- paths:
85-
- palettes.py
86-
- fractals.py
85+
- ./palettes.py
86+
- ./fractals.py
8787
</py-env>
8888

8989
<py-script>

pyscriptjs/examples/repl.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<py-env>
1515
- paths:
16-
- antigravity.py
16+
- ./antigravity.py
1717
</py-env>
1818

1919
<body>

pyscriptjs/examples/repl2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
- bokeh
1818
- numpy
1919
- paths:
20-
- utils.py
21-
- antigravity.py
20+
- ./utils.py
21+
- ./antigravity.py
2222
</py-env>
2323

2424
<body>

pyscriptjs/examples/simple_clock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<script defer src="../build/pyscript.js"></script>
1313
<py-env>
1414
- paths:
15-
- utils.py
15+
- ./utils.py
1616
</py-env>
1717
</head>
1818

pyscriptjs/examples/todo-pylist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script defer src="/build/pyscript.js"></script>
1212
<py-env>
1313
- paths:
14-
- utils.py
14+
- ./utils.py
1515
</py-env>
1616
<py-register-widget src="/pylist.py" name="py-list" klass="PyList"></py-register-widget>
1717

pyscriptjs/examples/todo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<script defer src="/build/pyscript.js"></script>
1313
<py-env>
1414
- paths:
15-
- utils.py
15+
- ./utils.py
1616
</py-env>
1717
</head>
1818

0 commit comments

Comments
 (0)