@xuda.io/xuda-worker-bundle 1.3.2111 → 1.3.2113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6851,7 +6851,7 @@ func.events.execute = async function (
|
|
|
6851
6851
|
dsSession,
|
|
6852
6852
|
`(async function(el,evt) {
|
|
6853
6853
|
${refIdP.value}
|
|
6854
|
-
})(document.querySelector(\`[xu-ui-id
|
|
6854
|
+
})(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
|
|
6855
6855
|
null,
|
|
6856
6856
|
null,
|
|
6857
6857
|
null,
|
|
@@ -6871,7 +6871,7 @@ func.events.execute = async function (
|
|
|
6871
6871
|
dsSession,
|
|
6872
6872
|
`(async function(el,evt) {
|
|
6873
6873
|
${refIdP.value}
|
|
6874
|
-
})(document.querySelector(\`[xu-ui-id
|
|
6874
|
+
})(document.querySelector(\`[xu-ui-id="${elementP}"]\`),evt)`,
|
|
6875
6875
|
true,
|
|
6876
6876
|
null,
|
|
6877
6877
|
null,
|
|
@@ -8300,10 +8300,10 @@ func.expression.secure_eval = async function (SESSION_ID, sourceP, val, job_id,
|
|
|
8300
8300
|
return eval(val);
|
|
8301
8301
|
} catch (err) {
|
|
8302
8302
|
try {
|
|
8303
|
-
if (
|
|
8303
|
+
if (sourceP === 'javascript') console.error(err);
|
|
8304
8304
|
return JSON5.parse(val);
|
|
8305
8305
|
} catch (err) {
|
|
8306
|
-
if (
|
|
8306
|
+
if (sourceP === 'javascript') console.error(err);
|
|
8307
8307
|
return val;
|
|
8308
8308
|
}
|
|
8309
8309
|
}
|