Groups
Groups
Sign in
Groups
Groups
mustache.java
Conversations
About
Send feedback
Help
boolean doesn't seem to work
36 views
Skip to first unread message
Earl Grey
unread,
Apr 17, 2012, 7:57:14 PM
4/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mustac...@googlegroups.com
I am running the handlebar example, and it appears that booleans do not work. For example, consider the following JSON and template:
{
"name":"John Doe",
"crazy":false
}
{{#crazy}}
{{name}} is crazy!
{{/crazy}}
This results in the following (when it should be blank):
John Doe is crazy.
Sam
unread,
Apr 18, 2012, 12:27:37 AM
4/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mustache.java
Yep, legit bug. Fix is in master, deployed 0.7.3-SNAPSHOT and will go
out in the next release.
Thanks!
Sam
Reply all
Reply to author
Forward
0 new messages