Commit 733181a6 by Lucian Grosu

Added highestAverage / lowestAverage

parent d79dcb95
...@@ -234,6 +234,20 @@ function (_) { ...@@ -234,6 +234,20 @@ function (_) {
defaultParams: [10] 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) { _.each(categories, function(funcList, catName) {
categories[catName] = _.sortBy(funcList, 'name'); categories[catName] = _.sortBy(funcList, 'name');
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment