@@ -100,7 +100,7 @@ For example, this will work because all references are contained within the
100100registered function:
101101
102102``` js
103- import { hooks } from " https://pyscript.net/releases/2025.7.1 /core.js" ;
103+ import { hooks } from " https://pyscript.net/releases/2025.7.2 /core.js" ;
104104
105105hooks .worker .onReady .add (() => {
106106 // NOT suggested, just an example!
@@ -114,7 +114,7 @@ hooks.worker.onReady.add(() => {
114114However, due to the outer reference to the variable ` i ` , this will fail:
115115
116116``` js
117- import { hooks } from " https://pyscript.net/releases/2025.7.1 /core.js" ;
117+ import { hooks } from " https://pyscript.net/releases/2025.7.2 /core.js" ;
118118
119119// NO NO NO NO NO! ☠️
120120let i = 0 ;
@@ -147,7 +147,7 @@ the page.
147147
148148``` js title="log.js - a plugin that simply logs to the console."
149149// import the hooks from PyScript first...
150- import { hooks } from " https://pyscript.net/releases/2025.7.1 /core.js" ;
150+ import { hooks } from " https://pyscript.net/releases/2025.7.2 /core.js" ;
151151
152152// The `hooks.main` attribute defines plugins that run on the main thread.
153153hooks .main .onReady .add ((wrap , element ) => {
@@ -197,8 +197,8 @@ hooks.worker.onAfterRun.add(() => {
197197 <!-- JS plugins should be available before PyScript bootstraps -->
198198 <script type =" module" src =" ./log.js" ></script >
199199 <!-- PyScript -->
200- <link rel =" stylesheet" href =" https://pyscript.net/releases/2025.7.1 /core.css" >
201- <script type =" module" src =" https://pyscript.net/releases/2025.7.1 /core.js" ></script >
200+ <link rel =" stylesheet" href =" https://pyscript.net/releases/2025.7.2 /core.css" >
201+ <script type =" module" src =" https://pyscript.net/releases/2025.7.2 /core.js" ></script >
202202 </head >
203203 <body >
204204 <script type =" mpy" >
0 commit comments