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

Implement template registration, as discussed #1021

Closed
clarle opened this issue Jul 22, 2013 · 2 comments
Closed

Implement template registration, as discussed #1021

clarle opened this issue Jul 22, 2013 · 2 comments

Comments

@clarle
Copy link
Collaborator

clarle commented Jul 22, 2013

Discussion of template registration in this gist: https://gist.github.com/caridy/5548076

I'll begin implementing this according to the spec that's been discussed for the past few months. It looks like most of it has been fully agreed with all around, but if anyone has any more ideas that they would like to bring up, please do so in this issue or in the gist above.

@ghost ghost assigned clarle Jul 22, 2013
@clarle
Copy link
Collaborator Author

clarle commented Jul 23, 2013

I've begun implementing this feature.

One of the discussions that came up while doing so is whether we actually need Template.unregister. Since the goal is to be able to load the templates in as modules, there's not really a situation where you would ever need to unregister a template. The original idea was that components that registered these templates would want to be able to unregister them before they were destroyed, but it doesn't seem like instance-level templates would ever be something that would be used.

For now, I'll be ignoring Template.unregister unless someone has another use case.

@clarle
Copy link
Collaborator Author

clarle commented Jul 26, 2013

Merged in #1026.

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

No branches or pull requests

1 participant