Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for @first and @last in each. #6

Merged
merged 1 commit into from
Aug 15, 2014

Conversation

harbulot
Copy link
Contributor

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).

It is useful, for example, to write a comma-separated list without a comma after the last item.

wbond added a commit that referenced this pull request Aug 15, 2014
@wbond wbond merged commit a1b108a into wbond:master Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants