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 explicit iteration over arrays and maps #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Feb 1, 2017

  1. Make block-tag checks more flexible

    Dennis Schridde committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    d63d040 View commit details
    Browse the repository at this point in the history
  2. Support explicit iteration over arrays and maps

    Explicit iteration blocks are e.g. necessary to support iteration over
     maps/hashes, as in the following example:
    
    ```mustache
    Key/value pairs:
    {{*hashmap}}
      - {{k}} = {{v}}
    {{/hashmap}}
    ```
    
    I did not include tests, because their data is included in the corresponding
     pull request to the Mustache spec.
    
    See-Also: mustache/spec#23
    Dennis Schridde committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    10262a0 View commit details
    Browse the repository at this point in the history