Fix basename in perf/perf.js. [ci skip]

This commit is contained in:
John-David Dalton
2014-02-05 09:03:31 -08:00
parent 20297e359d
commit 8b4f1e1383

View File

@@ -52,6 +52,15 @@
return result;
}());
/** Used to match path separators */
var rePathSeparator = /[\/\\]/;
/** Used to detect primitive types */
var rePrimitive = /^(?:boolean|number|string|undefined)$/;
/** Used to match RegExp special characters */
var reSpecialChars = /[.*+?^=!:${}()|[\]\/\\]/g;
/** The `ui` object */
var ui = root.ui || (root.ui = {
'buildPath': basename(filePath, '.js'),
@@ -67,15 +76,6 @@
return result + (result == buildName ? ' (2)' : '');
}());
/** Used to match path separators */
var rePathSeparator = /[\/\\]/;
/** Used to detect primitive types */
var rePrimitive = /^(?:boolean|number|string|undefined)$/;
/** Used to match RegExp special characters */
var reSpecialChars = /[.*+?^=!:${}()|[\]\/\\]/g;
/** Used to score performance */
var score = { 'a': [], 'b': [] };