When you try adding a binding to an ObjectController
it doesn\'t work.
App.FailController = Em.ObjectController.extend({
content: null,
myBi
credits: to caligo-mentis who answered this over at github.
ObjectProxy
delegates any call to set
to the content
property unless a property with the same name exists on the ObjectProxy
instance. The simple solution is to define a property with the desired name prior to declaring the binding.
App.FailController = Em.ObjectController.extend({
my: null,
myBinding: "App.router.myController" // <-- works
});
jsFiddle: demo