Skip to content

array support #1

@matthewmueller

Description

@matthewmueller

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions