support of null in conditions like {% if previousTime != null %}
dmitrya1979 opened this issue · 3 comments
dmitrya1979 commented
Great library. It looks like null is not supported http://jsfiddle.net/zq3ez61h/ Can it be extended to support nulls?
Nexxtron commented
Hello,
got the same problem with (both "row" and "index" are defined!):
{% if row[index] != undefined) %}
in the compiled output the undefined/null gets recognized as variable:
this.__cache__.index !== undefined && this.__cache__.row !== undefined &&
this.__cache__.undefined !== undefined
antonmedv commented
Currently undefined ignored on update in Monkberry. I'll add support for them in next Monkberry v5.
d9onis commented
+1