mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Update the build process.
Former-commit-id: bc80960e1608982354366a37813785c277868d52
This commit is contained in:
@@ -105,7 +105,6 @@
|
||||
/**
|
||||
* Pre-process a given JavaScript `source`, preparing it for minification.
|
||||
*
|
||||
* @private
|
||||
* @param {String} source The source to process.
|
||||
* @returns {String} Returns the processed source.
|
||||
*/
|
||||
@@ -130,7 +129,7 @@
|
||||
// minify `_.sortBy` internal properties
|
||||
(function() {
|
||||
var properties = ['criteria', 'value'],
|
||||
snippet = source.match(RegExp('( +)function sortBy[\\s\\S]+?\\n\\1}'))[0],
|
||||
snippet = source.match(/( +)function sortBy[\s\S]+?\n\1}/)[0],
|
||||
result = snippet;
|
||||
|
||||
// minify property strings
|
||||
|
||||
Reference in New Issue
Block a user