Quantcast
Viewing all articles
Browse latest Browse all 3491

Component bindings lead to max stack size reached

Hey,
whenever I try to use the binding options for a component according to the docs, I get "Uncaught RangeError: Maximum call stack size exceeded".

for the following line:
  1. can.view('layout/main.stache', {});

and main.stache only breaks if the greeting uses binding:
  1. <app-controller {(greeting)}="test" />
This can load
  1. <app-controller greeting="test" />


Excerpt from the strack trace:

exec@(program):105
Sizzle@jquery.js:772
jQuery.fn.extend.find@jquery.js:2695
jQuery.fn.init@jquery.js:2803
jQuery@jquery.js:76
can.Control.can.Construct.setup@control.js:84
can.extend.newInstance@construct.js:51
init@construct.js:100
Constructor@construct.js:95
Sizzle.error@jquery.js:1458
setTimeout (async)
(anonymous function)@function.js:16
can.dispatch@event.js:108
can.batch.stop@batch.js:39
can.route.setState@route.js:292 

I am using CanJS 2.2.9 with jQuery 2.1.4


Viewing all articles
Browse latest Browse all 3491

Trending Articles