janl/mustache.js — pull request #202 by bgreenlee (2012-05-02 00:01:56+00:00)
Title: Treat an empty string as falsey in inverted sections.

Treat an empty string (or for that matter, any value that evaluates to false) as falsey in inverted sections.

Per the spec (https://github.com/mustache/spec/issues/28), a value is falsey if the host language treats it as falsey. JavaScript treats an empty string as falsey.

Fixes issue #186 (https://github.com/janl/mustache.js/issues/186)