Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to access functions from FuncMap #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pavelvlasov
Copy link

Seems, that calling only works for built-in functions, because

#{foo($bar)}

transforms into {{call .foo $bar}}, but should be without . character.
It can cause #25 issue.
More elegant solutions are welcome :)

Seems, that calling only works for built-in functions, because
```
#{foo($bar)}
```
transforms into `{{call .foo $bar}}`, but should be without `.` character.
More elegant solutions are welcome :)
@deankarn
Copy link

deankarn commented Feb 8, 2015

bump, any word on this pull request? I have the exact same issue.

@ghost
Copy link

ghost commented May 17, 2015

I have the same issue, pull request appears to fix it for me. It would be great if this could get fixed - even if just as a stop-gap solution.

@bradrydzewski
Copy link

+1

@xyproto
Copy link
Contributor

xyproto commented Dec 1, 2015

I also encountered this problem in algernon, but when using a template.FuncMap when rendering the template with Amber, it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants