I want to remain DRY with my templates so I created some amazing composable functions and helpers only to realize that Spacebars doesn't play nicely.
I have 2 functions that both take two arguments: func(a,b)
which in Spacebars turns into {{func a b}}
.
The goal is to compute func2(func1(a,b), c)
. I figured Spacebars would look at the functions and number of arguments for each be be able to understand {{func2 func1 a b c}}
. This doesn't seem to be the case. Any ideas?