Anyone had issues with this? I get an error "Unable to get property
'replace' of undefined or null reference" in can.stache.js at line
162 (using 2.1.3, jquery version). This can be fixed by adding:
elements = elements || can.view.elements;
at line 14. Anyone else had similar issues?
Thanks,
Dan
Additional info: The functionality causing this is loading and
parsing an external template, ie:
$('#someElm').html( can.view('templates/external', {data:'stuff'}) );