mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
WIP
This commit is contained in:
@@ -276,6 +276,11 @@ export const eval_modules = (
|
||||
const codestring =
|
||||
`
|
||||
let children, prev_children
|
||||
|
||||
// TODO refactor, move patch_promise here
|
||||
globalThis.get_children = () => children
|
||||
globalThis.set_children = (_children) => children = _children
|
||||
|
||||
// TODO use native array for stack for perf?
|
||||
const stack = new Array()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user