Added highestAverage / lowestAverage
This commit is contained in:
1 parent
d79dcb952d
commit
733181a6b8
1 file changed
+14
@@ -234,6 +234,20 @@ function (_) {
|
||||
defaultParams: [10]
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'highestAverage',
|
||||
category: categories.Filter,
|
||||
params: [ { name: "count", type: "int" } ],
|
||||
defaultParams: [5]
|
||||
});
|
||||
|
||||
addFuncDef({
|
||||
name: 'lowestAverage',
|
||||
category: categories.Filter,
|
||||
params: [ { name: "count", type: "int" } ],
|
||||
defaultParams: [5]
|
||||
});
|
||||
|
||||
_.each(categories, function(funcList, catName) {
|
||||
categories[catName] = _.sortBy(funcList, 'name');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user