minstache icon indicating copy to clipboard operation
minstache copied to clipboard

array support

Open matthewmueller opened this issue 12 years ago • 3 comments

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.

matthewmueller avatar Oct 21 '12 11:10 matthewmueller

+1

colinf avatar Oct 26 '12 15:10 colinf

+1 for sections as lists

urban avatar Aug 07 '13 17:08 urban

+1

yields avatar Aug 21 '13 06:08 yields