samskivert/jmustache — Issue #9: Option to make empty string falsey
Author: rrmckinley
Created: 2011-10-16 04:31:03+00:00
State: open

A compiler option to make empty string falsey would be nice. I ported a project from server-side JavaScript to the Play framework using jmustache. The semantics I had in the JavaScript side relied on empty string as falsey. I had to change everything to null instead. That was no problem, but falsey empty string would have made the port easier.