mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
async calls WIP
This commit is contained in:
@@ -62,6 +62,7 @@ const make_function = globalThis.process != null
|
||||
? (...args) => new Function(...args)
|
||||
// Browser context, run code in iframe
|
||||
: (...args) => {
|
||||
/* access window object for iframe */
|
||||
const fn_constructor = globalThis.run_code.contentWindow.Function
|
||||
return new fn_constructor(...args)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user