Closed webarthur closed 8 years ago
Thanks!
@webarthur I tested it and your update doesn't work. I reverted the commit.
Solution for you:
{{ if object }}
<div>{{ object.length }}</div>
{{ fi }}
Thanks!
Mustache and AngularJS don't have this trouble. Use an IF for each empty object is not a good solution. I'm working in a small mvvm jquery framework, but ok... Thank you too!
My case:
Script stop if try to compile "object.length" when object=undefined. Fixed with try/catch.