mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Fix basename in perf/perf.js. [ci skip]
This commit is contained in:
18
perf/perf.js
18
perf/perf.js
@@ -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': [] };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user