Note that there are some explanatory texts on larger screens.

plurals
  1. POChrome//kendoUI/jQuery: Maximum call stack size exceeded
    primarykey
    data
    text
    <p>I am working hottowell template to create spa application and I am getting a nice error from jquery. Basically my problem start at the moment to try bind my view from viewModelBinder.js (from durandal library).</p> <pre><code>viewModelBinder.beforeBind(obj, view); action(); viewModelBinder.afterBind(obj, view); </code></pre> <p>at the moment to call beforeBind this code is executed (main.js of my own app)</p> <pre><code>kendo.ns = "kendo-"; viewModelBinder.beforeBind = function (obj, view) { kendo.bind(view, obj.viewModel || obj); }; </code></pre> <p>where kendo.bind is something like (kendo.web.js from kendo ui library):</p> <pre><code>function bind(dom, object) { var idx, length, roles = kendo.rolesFromNamespaces([].slice.call(arguments, 2)); object = kendo.observable(object); dom = $(dom); for (idx = 0, length = dom.length; idx &lt; length; idx++) { bindElement(dom[idx], object, roles); } } </code></pre> <p>From here when i am runing the line </p> <pre><code> object = kendo.observable(object); // where object it's my viewmodel as far i see in the debuger. </code></pre> <p>I am getting a lot of exceptions from line 4224 of file jquery-1.9.1.js</p> <pre><code>div.querySelectorAll("*,:x"); </code></pre> <p>and line 4242 of file jquery-1.9.1.js</p> <pre><code>matches.call( div, "[s!='']:x" ); </code></pre> <p>These exceptions are causing the error in the console:"Maximum Call Stack Size Exceeded"</p> <p>My suspicion is my html view, maybe some html element it's triggering this problem . Other interesting comment is that the problem is present when the element inside of html view change from visible :false to visible:true (my view it's a html table what is able to show or hide detail for the selected row)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload