diff --git a/perf/perf.js b/perf/perf.js index 644975a42..2f724059c 100644 --- a/perf/perf.js +++ b/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': [] };