don't use Ox.merge

This commit is contained in:
rolux 2012-05-24 12:17:12 +02:00
parent d5da610c18
commit c03e7be035

View file

@ -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