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

Re : Modify document fragment with additional stache code in helper

$
0
0
I wouldn't recommend what you're trying to do in the first place.  In the 4+ years I've been working on CanJS backed projects it's never been necessary to treat the output of a template in the live system as part of another template.  Why can't your helper function just do if(options.contexts.attr("someAttr")) instead?

Viewing all articles
Browse latest Browse all 3491

Trending Articles