ezraroi / ngJsTree

Angular Directive for the famous JS Tree
http://ezraroi.github.io/ngJsTree/
MIT License
270 stars 98 forks source link

Uncaught RangeError: Maximum call stack size exceeded #55

Closed swamim closed 8 years ago

swamim commented 8 years ago

Uncaught RangeError: Maximum call stack size exceeded parse_flat @ (program):19parse_flat @ (program):84

I am loading a 400 node array. Please help.

ezraroi commented 8 years ago

I think this is the same issue as #54. Can you reproduce it please? In my project I am loading 2000 when I create the tree

swamim commented 8 years ago

Found issue, got the object which is having id and parent are the same, that is causing the issue. In this case, I have changed the object parent = "#" where ever id and parents are same. Tree is working fine.

ezraroi commented 8 years ago

Thanks for updating