fix scope

This commit is contained in:
Rizky 2024-04-14 12:41:35 +07:00
parent 51e3a205b7
commit fefcfd95f2
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ export const declareScope = (p: PG, meta: IMeta, monaco: Monaco) => {
const arg = {
...exports,
params,
active: active,
_meta: metas,
_item: m.item,
_syncm: typeof syncronize !== "undefined" ? syncronize : undefined,
};
const fn = new Function(