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

New Helper: Each Include Parent - (Works with partials) #385

Closed
wants to merge 1 commit into from
Closed

New Helper: Each Include Parent - (Works with partials) #385

wants to merge 1 commit into from

Commits on Dec 8, 2012

  1. Register Helper: Each with Parent

    This helper allows a parent context to be accessed when using partial templates.
    Note: It has no dependencies other than Handlebars. Uses a local _each function that is a port of jQuey.each.
    Usage: {{#eachIncludeParent context parent=this}}{{> template-partial }}{{/eachIncludeParent}}
    See demo: jsFiddle - http://jsfiddle.net/AndrewHenderson/kQZpu/4/
    Comment Thread: #182 (comment)
    AndrewHenderson committed Dec 8, 2012
    Configuration menu
    Copy the full SHA
    1264cd8 View commit details
    Browse the repository at this point in the history