Skip to content
This repository

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

sontek opened this Issue January 04, 2013 · 2 comments

2 participants

John Anderson Dave Williamson
John Anderson

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.

John Anderson

Following up on this....

Dave Williamson

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.