Skip to content

Implement Ember semantics for Glimmer {{#each}}#13048

Merged
chancancode merged 3 commits intomasterfrom
glimmer-each
Mar 4, 2016
Merged

Implement Ember semantics for Glimmer {{#each}}#13048
chancancode merged 3 commits intomasterfrom
glimmer-each

Conversation

@chancancode
Copy link
Member

As usual, we only ported enough tests to test the system is working, and we need to finish porting the rest of the tests (we actually haven’t looked into the existing each tests yet – we just borrowed the {{#with}} tests as a starting point). However, since we are now sharing the same basic test cases from the conditionals test, we already covered a lot of ground from-the-get-go.

Godhuda and others added 3 commits March 3, 2016 21:31
As usual, we only ported enough tests to test the system is working, and
we need to finish porting the rest of the tests (we actually haven’t
looked into the existing each tests yet – we just borrowed the {{#with}}
tests as a starting point). However, since we are now sharing the same
basic test cases from the conditionals test, we already covered a lot of
ground from-the-get-go.
Also cleaned up the {{#with}} tests a bit, e.g. remove duplicated tests,
following the mutation -> replacement cycle, etc
this.runTask(() => set(this.context, 'otherThing', 'biz'));

this.assertText('No Thing biz');

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing test for updating the outer var

@chancancode
Copy link
Member Author

@chadhietala I think I fixed some issues with the {{#with}} tests, could use a second pair of eyes on those. If you see anything wrong, feel free to open another PR to revert the specific changes.

chancancode added a commit that referenced this pull request Mar 4, 2016
Implement Ember semantics for Glimmer {{#each}}
@chancancode chancancode merged commit 7e80717 into master Mar 4, 2016
@chancancode chancancode deleted the glimmer-each branch March 4, 2016 09:50
@homu homu mentioned this pull request Mar 4, 2016
26 tasks
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