The most common way I’m using templates is to embed the standard template result into a new tag: span, link, etc. Is there any way to avoid coping the default template code, which sometimes can be pretty complex? Just for the illustration, PHP uses parent::myFunction() to reach the ancestor method. For example:
scheduler.templates.month_day = function(date){
var result ='';
result += 'something before';
result += call_default_template(date);
result += 'something after';
return result;
};
I’d like to avoid coping all the code into my CUSTOM scheduler.templates.month_day.
I want to wrap the default template result into my custom tags for example.