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

[CLEANUP BETA] Remove context switching {{with foo}} support #11790

Merged
merged 1 commit into from
Jul 17, 2015

Conversation

topaxi
Copy link
Contributor

@topaxi topaxi commented Jul 17, 2015

Fixes #11784

I'm not a 100% sure, but I might have killed off too much unit-tests?
They did seem to relate to {{#with}} though.

@topaxi
Copy link
Contributor Author

topaxi commented Jul 17, 2015

Also, the {{#each}} helper looks very similar, should I look into it too? In the same or new pull request? :)

ok(destroyed, 'controller was destroyed properly');
});

QUnit.test('destroys the controller generated with {{with foo as bar controller=\'blah\'}}', function() {
Copy link
Member

Choose a reason for hiding this comment

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

Lets keep this test, it isn't using the deprecated context switching form (it may be removed/tweaked in another PR related to the controller= option with {{with}}).

@rwjblue
Copy link
Member

rwjblue commented Jul 17, 2015

Left one minor comment but it looks good, thanks for tackling this!

@topaxi topaxi force-pushed the remove-context-switching-with branch from c36e8b3 to d99aa3e Compare July 17, 2015 13:51
@topaxi
Copy link
Contributor Author

topaxi commented Jul 17, 2015

I've re-added the test you mentioned.

stefanpenner added a commit that referenced this pull request Jul 17, 2015
[CLEANUP BETA] Remove context switching `{{with foo}}` support
@stefanpenner stefanpenner merged commit c273709 into emberjs:master Jul 17, 2015
@rwjblue
Copy link
Member

rwjblue commented Jul 17, 2015

Thank you!

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.

3 participants