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

boolean param/hash values are resolved as references in the context stack #46

Closed
jknack opened this issue Aug 2, 2012 · 1 comment
Closed
Assignees
Milestone

Comments

@jknack
Copy link
Owner

jknack commented Aug 2, 2012

Boolean param or hash aren't resolved as literals, handlebars.java search in the context stack for a variable h. For example:

 {{helper context true h=true}}
 Boolean h = options.hash("h")
 assertEquals(null, h);

Expected

 Boolean h = options.hash("h")
 assertEquals(true, h);
@ghost ghost assigned jknack Aug 2, 2012
@jknack
Copy link
Owner Author

jknack commented Aug 3, 2012

@jknack jknack closed this as completed Aug 3, 2012
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

No branches or pull requests

1 participant