The whisker rendering fail if i try to do something like:
whisker.add(myNode, {
text : null
});
<div class="myNode">{{item.text}}</div>
It throws an exception: Uncaught TypeError: Cannot read property 'undefined' of null .
To fix this I do:
whisker.add(myNode, {
text : null || ''
});
The whisker rendering fail if i try to do something like:
It throws an exception: Uncaught TypeError: Cannot read property 'undefined' of null .
To fix this I do: