Closes #164, typeahead / autocomplete for adding graphite functions to a target expression

This commit is contained in:
Torkel Ödegaard
2014-03-04 18:50:38 +01:00
parent 238de4d8b4
commit 2be71c577c
8 changed files with 117 additions and 32 deletions

View File

@@ -245,8 +245,8 @@ function (_) {
name: 'lowestCurrent',
category: categories.Filter,
params: [ { name: "count", type: "int" } ],
defaultParams: [5]
});
defaultParams: [5]
});
addFuncDef({
name: 'movingAverage',
@@ -260,7 +260,7 @@ function (_) {
category: categories.Filter,
params: [ { name: "count", type: "int" } ],
defaultParams: [5]
});
});
addFuncDef({
name: 'lowestAverage',
@@ -318,6 +318,10 @@ function (_) {
return new FuncInstance(funcDef);
},
getFuncDef: function(name) {
return index[name];
},
getCategories: function() {
return categories;
}