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

support linkedin extensions: $idx, $len #23

Closed
jvanasco opened this issue Jun 23, 2015 · 3 comments
Closed

support linkedin extensions: $idx, $len #23

jvanasco opened this issue Jun 23, 2015 · 3 comments

Comments

@jvanasco
Copy link
Contributor

The linkedin fork introduced two extensions to the language: https://github.com/linkedin/dustjs/wiki/Dust-Tutorial

  • $idx - the index of the current iteration starting with zero (equivalent to {@idx}{.}{/idx}, however it's a primitive)
  • $len - the number of elements in the data being iterated.

it would be great if ashes supported them.

@mahmoud
Copy link
Owner

mahmoud commented Jun 24, 2015

👍 I hope to get on that tonight.

@jvanasco
Copy link
Contributor Author

oh wow! thanks! that saves me from trying to do this!

@mahmoud
Copy link
Owner

mahmoud commented Feb 26, 2017

Closing this, as these two have been implemented for.. quite a while. :)

@mahmoud mahmoud closed this as completed Feb 26, 2017
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

No branches or pull requests

2 participants