Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : canjs + mustache + recursive template rendering

$
0
0
Hi Rolf,

<error> when working with recursive Mustaches usually means that your recursive call is looking up the stack at the parent object's property with the same name.  This makes it run forever, and causes a stack fault.

The remedy is to "chop down" the context stack to a single object when making a recursive call.  We discussed this earlier this year in another thread:  https://forum.javascriptmvc.com/#Topic/32525000001587007

Viewing all articles
Browse latest Browse all 3491

Trending Articles