Closed harbulot closed 10 years ago
This patch adds support for @first and @last when iterating with each. This is similar to issue 483 in Handlebars.js (implemented in version 1.1.0).
@first
@last
each
It is useful, for example, to write a comma-separated list without a comma after the last item.
This patch adds support for
@first
and@last
when iterating witheach
. This is similar to issue 483 in Handlebars.js (implemented in version 1.1.0).It is useful, for example, to write a comma-separated list without a comma after the last item.