Remove trailing slash in locationPath of test/underscore.html.

This commit is contained in:
John-David Dalton
2014-01-23 00:30:24 -08:00
parent 05fa301ecb
commit 130695fcb3

View File

@@ -152,7 +152,7 @@
var reBasename = /[\w.-]+$/,
basePath = ('//' + location.host + location.pathname).replace(/\btest\/$/, ''),
modulePath = ui.buildPath.replace(/\.js$/, ''),
locationPath = modulePath.replace(reBasename, ''),
locationPath = modulePath.replace(reBasename, '').replace(/\/$/, ''),
moduleMain = modulePath.match(reBasename)[0];
QUnit.config.autostart = false;