mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
undo this change
This commit is contained in:
@@ -145,8 +145,7 @@ for (const [TYPE, interpreter] of TYPES) {
|
||||
errors.set(element, error);
|
||||
},
|
||||
...workerHooks,
|
||||
async onWorkerReady(_, xworker) {
|
||||
await plugins; // workaround for a polyscript bug
|
||||
onWorkerReady(_, xworker) {
|
||||
assign(xworker.sync, sync);
|
||||
for (const callback of hooks.onWorkerReady)
|
||||
callback(_, xworker);
|
||||
|
||||
Reference in New Issue
Block a user