diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseSortBy.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseSortBy.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/alarm/node_modules/lodash/_baseSortBy.js b/alarm/node_modules/lodash/_baseSortBy.js deleted file mode 100644 index a25c92e..0000000 --- a/alarm/node_modules/lodash/_baseSortBy.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ -function baseSortBy(array, comparer) { - var length = array.length; - - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; -} - -module.exports = baseSortBy; |