Skip to content

Commit cf41d55

Browse files
committed
Bump version to 2024-08-2 in examples.
1 parent ea0c9a0 commit cf41d55

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

docs/beginning-pyscript.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ module in the document's `<head>` tag:
117117
<meta charset="utf-8" />
118118
<meta name="viewport" content="width=device-width,initial-scale=1" />
119119
<title>🦜 Polyglot - Piratical PyScript</title>
120-
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.1/core.css">
121-
<script type="module" src="https://pyscript.net/releases/2024.8.1/core.js"></script>
120+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
121+
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
122122
</head>
123123
<body>
124124

@@ -168,8 +168,8 @@ In the end, our HTML should look like this:
168168
<meta charset="utf-8" />
169169
<meta name="viewport" content="width=device-width,initial-scale=1" />
170170
<title>🦜 Polyglot - Piratical PyScript</title>
171-
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.1/core.css">
172-
<script type="module" src="https://pyscript.net/releases/2024.8.1/core.js"></script>
171+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
172+
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
173173
</head>
174174
<body>
175175
<h1>Polyglot 🦜 💬 🇬🇧 ➡️ 🏴‍☠️</h1>

docs/user-guide/first-steps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ CSS:
2020
<meta charset="UTF-8">
2121
<meta name="viewport" content="width=device-width,initial-scale=1.0">
2222
<!-- PyScript CSS -->
23-
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.1/core.css">
23+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
2424
<!-- This script tag bootstraps PyScript -->
25-
<script type="module" src="https://pyscript.net/releases/2024.8.1/core.js"></script>
25+
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
2626
</head>
2727
<body>
2828
<!-- your code goes here... -->

docs/user-guide/plugins.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ For example, this will work because all references are contained within the
9999
registered function:
100100

101101
```js
102-
import { hooks } from "https://pyscript.net/releases/2024.8.1/core.js";
102+
import { hooks } from "https://pyscript.net/releases/2024.8.2/core.js";
103103

104104
hooks.worker.onReady.add(() => {
105105
// NOT suggested, just an example!
@@ -113,7 +113,7 @@ hooks.worker.onReady.add(() => {
113113
However, due to the outer reference to the variable `i`, this will fail:
114114

115115
```js
116-
import { hooks } from "https://pyscript.net/releases/2024.8.1/core.js";
116+
import { hooks } from "https://pyscript.net/releases/2024.8.2/core.js";
117117

118118
// NO NO NO NO NO! ☠️
119119
let i = 0;
@@ -146,7 +146,7 @@ the page.
146146

147147
```js title="log.js - a plugin that simply logs to the console."
148148
// import the hooks from PyScript first...
149-
import { hooks } from "https://pyscript.net/releases/2024.8.1/core.js";
149+
import { hooks } from "https://pyscript.net/releases/2024.8.2/core.js";
150150

151151
// The `hooks.main` attribute defines plugins that run on the main thread.
152152
hooks.main.onReady.add((wrap, element) => {
@@ -196,8 +196,8 @@ hooks.worker.onAfterRun.add(() => {
196196
<!-- JS plugins should be available before PyScript bootstraps -->
197197
<script type="module" src="./log.js"></script>
198198
<!-- PyScript -->
199-
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.1/core.css">
200-
<script type="module" src="https://pyscript.net/releases/2024.8.1/core.js"></script>
199+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
200+
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
201201
</head>
202202
<body>
203203
<script type="mpy">

docs/user-guide/workers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ Here's how:
282282
<meta charset="utf-8">
283283
<meta name="viewport" content="width=device-width,initial-scale=1">
284284
<!-- PyScript CSS -->
285-
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.1/core.css">
285+
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
286286
<!-- This script tag bootstraps PyScript -->
287-
<script type="module" src="https://pyscript.net/releases/2024.8.1/core.js"></script>
287+
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
288288
<title>PyWorker - mpy bootstrapping pyodide example</title>
289289
<!-- the async attribute is useful but not mandatory -->
290290
<script type="mpy" src="main.py" async></script>

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "2024.8.1"
2+
"version": "2024.8.2"
33
}

0 commit comments

Comments
 (0)