XaminProject/handlebars.php — pull request #55 by majortom731 (2014-03-12 16:32:17+00:00)
Title: Added ability to test numeric constants to internal 'if'-helper

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.