boolean doesn't seem to work

36 views
Skip to first unread message

Earl Grey

unread,
Apr 17, 2012, 7:57:14 PM4/17/12
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 AM4/18/12
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