@Neppord can you give me some examples?
-
-
@wycats are you reffering tho what is said here on injectors? http://emberjs.com/blog/2013/02/15/ember-1-0-rc.html … or is there new info? -
@Neppord App.register('controller:post', ...) is registering an injection per class. -
@wycats so every instance of a controller get a "post" member injected that is of the class/type given by the second argument? -
@Neppord App.inject('controller:comment', 'postController', 'controller:post') injects postController into instances of CommentController -
@wycats That doesn't seam intuitive to me. How does that work with Business objects? If you have a non ember object/value you want to inject -
@Neppord register('service:foo', { instantiate: false }); inject('controller:post', 'foo', 'service:foo');
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.