How do you pass context data to a function? #125

Closed
sontek opened this Issue Jan 4, 2013 · 2 comments

Projects

None yet

3 participants

@sontek

So for instance, I defined a context function named foo, so I want to do:

{{#foo}} {{context_var}} {{/foo}}

but it doesn't expand the context_var within the command.

@sontek

Following up on this....

@davewilliamson

I am having the same issue, if I want to pass the value of the variable through to the function, all I get is the {{var_name}} passed. This really need to extract the variable value, then pass this through to the function.

@sayrer sayrer closed this Apr 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment