don't use Ox.merge
This commit is contained in:
parent
d5da610c18
commit
c03e7be035
1 changed files with 9 additions and 8 deletions
|
@ -23,16 +23,17 @@ Ox.load({Geo: {}, UI: {}, Unicode: {}}, function() {
|
|||
|
||||
setBackground($tests, true);
|
||||
|
||||
tests(Ox.merge(Ox.merge.apply(null, files).map(function(file) {
|
||||
return '../dev/' + file;
|
||||
}), [
|
||||
'../dev/Ox.Geo/Ox.Geo.js',
|
||||
'../dev/Ox.Image/Ox.Image.js',
|
||||
'../dev/Ox.Unicode/Ox.Unicode.js'
|
||||
]));
|
||||
tests(
|
||||
Ox.flatten(files).sort().map(function(file) {
|
||||
return '../dev/' + file;
|
||||
}).concat([
|
||||
'../dev/Ox.Geo/Ox.Geo.js',
|
||||
'../dev/Ox.Image/Ox.Image.js',
|
||||
'../dev/Ox.Unicode/Ox.Unicode.js'
|
||||
])
|
||||
);
|
||||
|
||||
function tests() {
|
||||
Ox.print('!!!!!!', arguments)
|
||||
var passed = 0, failed = 0,
|
||||
lines, spaces, command, expected, result, passed,
|
||||
replace = ['', ''], fns = [], $test
|
||||
|
|
Loading…
Reference in a new issue