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

array support #1

Open
matthewmueller opened this issue Oct 21, 2012 · 3 comments
Open

array support #1

matthewmueller opened this issue Oct 21, 2012 · 3 comments

Comments

@matthewmueller
Copy link

it'd be sweet for this library to support iteration through arrays.

{ contacts :
  [
    { name : 'matt' },
    { name : 'john' }
  ]
}
<ul>
  {#contacts}<li>{name}</li>{/contacts}
</ul>

I took a look at the way the lib is structured - it doesn't look trivial to implement. I feel like it's the last feature missing from a lightweight "core" mustache though.

@colinf
Copy link

colinf commented Oct 26, 2012

+1

@urban
Copy link

urban commented Aug 7, 2013

+1 for sections as lists

@yields
Copy link

yields commented Aug 21, 2013

+1

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

4 participants