fix loading, minify with rollup
This commit is contained in:
parent
9c3450947b
commit
dd5237e4ed
156 changed files with 794 additions and 971 deletions
|
|
@ -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 + ')')
|
||||
)
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue