mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 19:25:35 -05:00
[next] Improve config parsing on bootstrap (#1704)
This commit is contained in:
committed by
GitHub
parent
00fdc73015
commit
840bc803b7
@@ -24,7 +24,7 @@ hooks.onBeforeRun.add(function override(pyScript) {
|
||||
// Error hook utilities
|
||||
|
||||
// Custom function to show notifications
|
||||
function notify(message) {
|
||||
export function notify(message) {
|
||||
const div = document.createElement("div");
|
||||
div.className = "py-error";
|
||||
div.textContent = message;
|
||||
|
||||
Reference in New Issue
Block a user