Mark Avery
Mark Avery
umm.. yea. So to maintain backwards compatibility, we'd have to dump an empty component file in if there was non for each template. The difficulty there is that due to...
I just won't be able to look into this until next week :(
And with the new version, we are requiring "template only" components to have to use the `this.styleNamespace` property in the templates to grab that string. So one would have to...
https://github.com/emberjs/ember.js/blob/151d8c57da2929dc5ff20e336518d6ea2d83d992/packages/%40ember/engine/index.js#L528 it looks like it's still getting registered, I wonder if you could pull it out of that.
@knownasilya might have a fix for this. We'll see if it suffices for the mean time.
Shoot. Ok. well, have to spend a little more time later.
@lifeart yea. that parts easy, but thereās is no way to distinguish route templates and component templates, or if a component template is going to need that or not at...
you could have a template thatās āapp/posts/author-comment/template.hbsā and call that with {{posts/author-comment}} so.. 1. so you can do something like āif has no route or component fileā. But this would...
I think going the way we discussed in #342 where we have the option of wrapping all templates in a let block that defines a āstyleNamespaceā local variable is best...