janl/mustache.js — pull request #188 by appmode (2012-03-16 08:37:28+00:00)
Title: Fix for inverted sections where value is an empty string or zero.

This fixes Issue #186
A numeric 0 or an empty string will be matched by an inverted section as they equate to false.

I have also added support for use of an empty inverted section tag {{^}} as an else style tag for sections,
usage:
{{#section}}
section
{{^}}
inverted section
{{/section}}

This is equivalent of:
{{#section}}
section
{{/section}}
{{^section}}
inverted section
{{/section}}