Update test files to work with underscore builds defined as named amd modules.

This commit is contained in:
John-David Dalton
2014-02-15 01:17:00 -08:00
parent 7edf024c71
commit 8a25592904
2 changed files with 10 additions and 7 deletions

View File

@@ -186,7 +186,7 @@
var reBasename = /[\w.-]+$/,
basePath = ('//' + location.host + location.pathname.replace(reBasename, '')).replace(/\btest\/$/, ''),
modulePath = ui.buildPath.replace(/\.js$/, ''),
locationPath = modulePath.replace(reBasename, '').replace(/\/$/, ''),
locationPath = modulePath.replace(reBasename, '').replace(/^\/|\/$/g, ''),
moduleMain = modulePath.match(reBasename)[0],
uid = +new Date;