-
Notifications
You must be signed in to change notification settings - Fork 421
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
Support Handlebars @key and @index directives #383
Comments
definitely + |
+1 |
it would be very helpful |
Wasn't it implemented yet? |
I've been working on this and have been overall happy with what I have. After talking with @daffl, expect the 2.1 launch to have a lot of goodies related to this such as:
Unrelated but it will also have an implementation of You can play with it in the indexKeyLogMustache branch. |
This should work with the branch I just added that rewrites scope. Sent from my iPhone
|
@justinbmeyer Perhaps it's time we start a 2.1-dev branch? |
We probaby should have a general |
agreed, a dev branch. There were a lot of minor breaking changes I wanted Justin Meyer On Thu, Nov 7, 2013 at 12:16 PM, David Luecke notifications@github.comwrote:
|
So, in a surprise turn of events Christmas is coming early and this is going to be in 2.0.1. Here is an example of it in action: http://jsfiddle.net/7Kxtu/7/ If you're on master, pull away and enjoy. |
Handlebars supports
{{@key}}
and{{@index}}
directives when iterating over an object.See here on Stackoverflow. I think it would be a good feature to add.
The text was updated successfully, but these errors were encountered: