leonidas / transparency

Transparency is a semantic template engine for the browser. It maps JSON objects to DOM elements by id, class and data-bind attributes.
http://leonidas.github.com/transparency/
MIT License
969 stars 112 forks source link

Possible null value related bug #67

Closed vesse closed 12 years ago

vesse commented 12 years ago

I would expect that regardless of the value in data the directive return value should be used. If the data value is null and the directive returns text content the return value of the directive is not applied to the element.