MCPcopy Index your code
hub / github.com/pyscript/pyscript / notifyEditor

Function notifyEditor

core/src/plugins/py-editor.js:411–414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

409 });
410
411 const notifyEditor = () => {
412 const event = new Event(`${type}-editor`, { bubbles: true });
413 script.dispatchEvent(event);
414 };
415
416 if (isSetup) {
417 context.handleEvent({ currentTarget: null, script }).then(notifyEditor);

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected