use Ox.parsePath instead of Ox.basename
This commit is contained in:
parent
613b594352
commit
cce58246fd
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ Ox.load({Geo: {}, Image: {}, UI: {}, Unicode: {}}, function() {
|
||||||
Ox.forEach(tests, function(functions, section) {
|
Ox.forEach(tests, function(functions, section) {
|
||||||
Ox.Bar({size: 14})
|
Ox.Bar({size: 14})
|
||||||
.css({padding: '1px 0 1px 4px'})
|
.css({padding: '1px 0 1px 4px'})
|
||||||
.html(Ox.basename(script).split('?')[0] + ' ' + (section || ''))
|
.html(Ox.parsePath(script).filename.split('?')[0] + ' ' + (section || ''))
|
||||||
.appendTo($body);
|
.appendTo($body);
|
||||||
Ox.forEach(functions, function(arr, fn) {
|
Ox.forEach(functions, function(arr, fn) {
|
||||||
var $test = Ox.CollapsePanel({
|
var $test = Ox.CollapsePanel({
|
||||||
|
|
Loading…
Reference in a new issue