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

[BUGFIX beta] Allow deprecated access to template in component. #11313

Merged
merged 1 commit into from
Jun 4, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented May 31, 2015

This adds deprecated support for checking this.get('template') in a component for determining if the component was invoked with a block or not.

This is deprecated in favor of using {{#if hasBlock}}{{/if}} in the components layout.

Addresses one portion of #11301.

This adds deprecated support for checking `this.get('template')` in a
component for determining if the component was invoked with a block or not.

This is deprecated in favor of using `{{#if hasBlock}}{{/if}}` in the components
layout.
rwjblue added a commit that referenced this pull request Jun 4, 2015
[BUGFIX beta] Allow deprecated access to `template` in component.
@rwjblue rwjblue merged commit 87fdde9 into emberjs:master Jun 4, 2015
@rwjblue rwjblue deleted the deprecate-template branch June 4, 2015 01:28
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