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

Deconflict each-blocks contexts with reserved words #307

Merged
merged 4 commits into from
Feb 28, 2017
Merged

Conversation

Rich-Harris
Copy link
Member

Fixes the remaining bug in #222/#251, whereby code like this...

{{#each components as component}}
  <li>{{component}}</li>
{{/each}}

...would blow up because component is 'special'. It does so by renaming the context introduced by the each block to something safe.

@Rich-Harris Rich-Harris changed the title Gh 222 b Deconflict each-blocks contexts with reserved words Feb 28, 2017
@Rich-Harris Rich-Harris merged commit c3ebf25 into master Feb 28, 2017
@Rich-Harris Rich-Harris deleted the gh-222-b branch February 28, 2017 21:37
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.

1 participant