From 6a0a01c126eeee831744a4ea1e4fded153ca43b4 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Tue, 25 Oct 2022 03:34:47 +0800 Subject: [PATCH] async calls WIP --- src/eval.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eval.js b/src/eval.js index cb4395a..47ca818 100644 --- a/src/eval.js +++ b/src/eval.js @@ -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) }