Mark Avery

Results 296 comments of 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...