(target, type)
| 37 | }; |
| 38 | |
| 39 | const getRelatedScript = (target, type) => { |
| 40 | const editor = target.closest(`.${type}-editor-box`); |
| 41 | return editor?.parentNode?.previousElementSibling; |
| 42 | }; |
| 43 | |
| 44 | async function execute({ currentTarget, script }, onBeforeRun = "") { |
| 45 | const { env, pySrc, outDiv } = this; |
no outgoing calls
no test coverage detected