diff options
author | 2017-10-25 12:47:34 +0000 | |
---|---|---|
committer | 2017-10-25 12:47:34 +0000 | |
commit | 0327e655a3cb876dff4d9e320eb520077a82f874 (patch) | |
tree | fbeb6f784bbf3d35f3bc34dcaadb4826e9dfdaa9 /vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js | |
parent | e8ddb8424f0a6ecf0a1b46ca46f01872b6294bcd (diff) |
Fix license issues reported by Steve
Removed node_modules from gerrit and added during installation
Change-Id: I616da4ca564724b5cd496849383c62ca121794ac
Jira:VNFSDK-115
Signed-off-by: Murali <murali.p@huawei.com>
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js deleted file mode 100644 index b0efff6f..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/baseExtremum.js +++ /dev/null @@ -1,29 +0,0 @@ -var baseEach = require('./baseEach'); - -/** - * Gets the extremum value of `collection` invoking `iteratee` for each value - * in `collection` to generate the criterion by which the value is ranked. - * The `iteratee` is invoked with three arguments: (value, index|key, collection). - * - * @private - * @param {Array|Object|string} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} comparator The function used to compare values. - * @param {*} exValue The initial extremum value. - * @returns {*} Returns the extremum value. - */ -function baseExtremum(collection, iteratee, comparator, exValue) { - var computed = exValue, - result = computed; - - baseEach(collection, function(value, index, collection) { - var current = +iteratee(value, index, collection); - if (comparator(current, computed) || (current === exValue && current === result)) { - computed = current; - result = value; - } - }); - return result; -} - -module.exports = baseExtremum; |