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 @value to context when iterating over maps #1253

Closed
wants to merge 2 commits into from

Commits on Sep 22, 2016

  1. Add @value to context when iterating over maps

    Add @value to context to more semantic the access to map key/value pairs. In this way those both approach will hold the same result, but the second one beeing more semantic:
    
    {{#each myObject}}
        Key: {{@key}} Value = {{this}}
    {{/each}}
    
    {{#each myObject}}
        Key: {{@key}} Value = {{@value}}
    {{/each}}
    giflw authored Sep 22, 2016
    Configuration menu
    Copy the full SHA
    9e6d6b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2016

  1. Configuration menu
    Copy the full SHA
    6bbd09c View commit details
    Browse the repository at this point in the history