added support for !array.length

v1.18.x
psychobunny 11 years ago
parent 0cca8e0bcf
commit 23c711947b

@ -358,6 +358,7 @@
template = replace(namespace + d, '', template);
} else if (data[d].constructor == Array) {
checkConditional(namespace + d + '.length', data[d].length);
checkConditional('!' + namespace + d + '.length', !data[d].length);
namespace += d + '.';

Loading…
Cancel
Save