mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +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;
|
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 */
|
/** The `ui` object */
|
||||||
var ui = root.ui || (root.ui = {
|
var ui = root.ui || (root.ui = {
|
||||||
'buildPath': basename(filePath, '.js'),
|
'buildPath': basename(filePath, '.js'),
|
||||||
@@ -67,15 +76,6 @@
|
|||||||
return result + (result == buildName ? ' (2)' : '');
|
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 */
|
/** Used to score performance */
|
||||||
var score = { 'a': [], 'b': [] };
|
var score = { 'a': [], 'b': [] };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user