Added highestAverage / lowestAverage

This commit is contained in:
Lucian Grosu
2014-02-26 12:37:16 +01:00
parent d79dcb952d
commit 733181a6b8

View File

@@ -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');
});