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?
↧