Skip to content

Allow to access functions from FuncMap#27

Open
pavelvlasov wants to merge 1 commit into
eknkc:masterfrom
pavelvlasov:patch-1
Open

Allow to access functions from FuncMap#27
pavelvlasov wants to merge 1 commit into
eknkc:masterfrom
pavelvlasov:patch-1

Conversation

@pavelvlasov

Copy link
Copy Markdown

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

deankarn commented Feb 8, 2015

Copy link
Copy Markdown

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

@ghost

ghost commented May 17, 2015

Copy link
Copy Markdown

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
Copy Markdown

+1

@xyproto

xyproto commented Dec 1, 2015

Copy link
Copy Markdown
Contributor

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