Closed majortom731 closed 10 years ago
Changed the internal 'if' helper such that it can test not only paths and/or variable names, but also numeric constants.
This will be helpful for subexpressions later, when testing numeric subexpressions return values,
eg: {{#if (eq 0 (mod @index 3))}}
Also added a test for this.
Included in #56
Changed the internal 'if' helper such that it can test not only paths and/or variable names, but also numeric constants.
This will be helpful for subexpressions later, when testing numeric subexpressions return values,
eg: {{#if (eq 0 (mod @index 3))}}
Also added a test for this.