Hey,
I am using CanJS 2.2.9 with jQuery 2.1.4
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:
- can.view('layout/main.stache', {});
and main.stache only breaks if the greeting uses binding:
- <app-controller {(greeting)}="test" />
This can load
- <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