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

Allow implicit iteration over the root context element #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mr0grog
Copy link

@Mr0grog Mr0grog commented Apr 17, 2015

This fixes #154 and generally matches Mustache.js’s behavior. Since there’s no test for this in the Mustache spec (see mustache/spec#87), I’ve added a unit test for it.

It’d be really nice to have this added in—I recently dealt with a confusing moment when transitioning some Mustache templates that used this pattern to Hogan. If the bug is any indication, it’s tripped up others, too.

@Mr0grog
Copy link
Author

Mr0grog commented Apr 17, 2015

Looks like the dependencies of some of the dependencies require Node 0.10+, so Travis is no longer able to complete a build on Node 0.6, which is what is specified in the .travis.yml. I can update it to 0.10 in this PR if you’d like.

@Mr0grog
Copy link
Author

Mr0grog commented Apr 27, 2015

Anything I can do to help get this merged in? It’s been sitting for a week and a half and would be really great to have fixed.

@Mr0grog
Copy link
Author

Mr0grog commented Jun 24, 2015

Hi there, just checking in on this PR. Is anybody maintaining Hogan anymore?

@CLAassistant
Copy link

CLAassistant commented Jul 18, 2019

CLA assistant check
All committers have signed the CLA.

@Mr0grog
Copy link
Author

Mr0grog commented Jul 22, 2019

Taking that as a sign of some more attention here, but is this PR still relevant? (I haven’t really been using Hogan in the last couple years and may not be up to speed.) Happy to sign the CLA if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Root element iteration broken (ok in mustache.js)
2 participants