use Ox.parsePath instead of Ox.basename

This commit is contained in:
rolux 2012-06-04 13:48:30 +02:00
parent 613b594352
commit cce58246fd

View file

@ -49,7 +49,7 @@ Ox.load({Geo: {}, Image: {}, UI: {}, Unicode: {}}, function() {
Ox.forEach(tests, function(functions, section) {
Ox.Bar({size: 14})
.css({padding: '1px 0 1px 4px'})
.html(Ox.basename(script).split('?')[0] + ' ' + (section || ''))
.html(Ox.parsePath(script).filename.split('?')[0] + ' ' + (section || ''))
.appendTo($body);
Ox.forEach(functions, function(arr, fn) {
var $test = Ox.CollapsePanel({