* Check if src being loaded from pyscript.net/latest and display a notification if true * * @param {string} src
(src)
| 19 | * * @param {string} src |
| 20 | */ |
| 21 | function checkLoadingScriptsFromLatest(src) { |
| 22 | if (/\/pyscript\.net\/latest/.test(src)) { |
| 23 | notify( |
| 24 | "Loading scripts from latest is deprecated and will be removed soon. Please use a specific version instead.", |
| 25 | ); |
| 26 | } |
| 27 | } |
no test coverage detected