I am on ember.js@1.13.7
and have created a nested component, which is three levels deep.
In Handlebars it looks like so:
//template that is rendered by the route, let's call it region-top.hbs
The templates of component-level-one
and component-level-two
are quite similar and look like that:
<h1>TEST</h1>
Running that whole thing gives me:
Uncaught: Range Error: Maximum call stack size exceeded
Without the wrapping component-level-one
it works fine.
But the items are rendered. So this one is caused by some subsequent event. In both, ComponentLevelTwo, and -Three
, I am using the targetObject
Property, to delegate the events to the parent view like so:
targetObject: Em.computed.alias('parentView');
Any Idea?
Aucun commentaire:
Enregistrer un commentaire