mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Remove trailing slash in locationPath of test/underscore.html.
This commit is contained in:
@@ -152,7 +152,7 @@
|
|||||||
var reBasename = /[\w.-]+$/,
|
var reBasename = /[\w.-]+$/,
|
||||||
basePath = ('//' + location.host + location.pathname).replace(/\btest\/$/, ''),
|
basePath = ('//' + location.host + location.pathname).replace(/\btest\/$/, ''),
|
||||||
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
modulePath = ui.buildPath.replace(/\.js$/, ''),
|
||||||
locationPath = modulePath.replace(reBasename, ''),
|
locationPath = modulePath.replace(reBasename, '').replace(/\/$/, ''),
|
||||||
moduleMain = modulePath.match(reBasename)[0];
|
moduleMain = modulePath.match(reBasename)[0];
|
||||||
|
|
||||||
QUnit.config.autostart = false;
|
QUnit.config.autostart = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user