I like to compose functions from smaller blocks.
helperA : function (component, param){
//do stuff
}
helperB : function (component, params){
//do stuff, and
helperA(component, params)
}
That doesn't work. Also tried
- sticking
this.
in front of it - passing the function helperA in as a param to helperB so that it's defined.
How do I call a function from another, either in the controller or the helper?