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

Add {{array ...}} helper #128

Closed
kellyselden opened this issue Mar 20, 2016 · 2 comments · Fixed by #318
Closed

Add {{array ...}} helper #128

kellyselden opened this issue Mar 20, 2016 · 2 comments · Fixed by #318

Comments

@kellyselden
Copy link
Member

It seems it would be a perfect companion to the {{hash ...}} helper:

{{hash
  name="parent"
  children=(array
    (hash
      name="child1"
    )
    (hash
      name="child2"
    )
  )
}}

It would probably get the most use in component integration tests, but could be useful in normal templates as well. Taken from here.

@Serabe
Copy link
Member

Serabe commented Mar 20, 2016 via email

@mmun
Copy link
Member

mmun commented Apr 14, 2016

This seems very natural to me. 👍

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 a pull request may close this issue.

3 participants