From cce58246fdbb8654e5081091c717a413b19149b4 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 4 Jun 2012 13:48:30 +0200 Subject: [PATCH] use Ox.parsePath instead of Ox.basename --- tests/js/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/js/tests.js b/tests/js/tests.js index 06adae5a..28970b0d 100644 --- a/tests/js/tests.js +++ b/tests/js/tests.js @@ -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({