fix loading, minify with rollup

This commit is contained in:
j 2026-02-18 17:02:08 +01:00
commit dd5237e4ed
156 changed files with 794 additions and 971 deletions

View file

@ -1,5 +1,7 @@
'use strict';
import Ox from './Namespace.js';
import Ox from './Ox.Global.js';
var globalEval = eval;
/*@
Ox.doc <f> Generates documentation for annotated JavaScript
@ -828,7 +830,7 @@ Ox.test = function(argument, callback) {
);
}
Ox.Log('TEST', statement);
actual = eval(statement);
actual = globalEval(statement);
if (!isAsync && test.expected) {
Ox.test.data[id].results.push({
actual: stringifyResult(actual),
@ -837,7 +839,7 @@ Ox.test = function(argument, callback) {
section: item.section,
statement: statement,
passed: Ox.isEqual(
actual, eval('(' + test.expected + ')')
actual, globalEval('(' + test.expected + ')')
)
});
}