* @param {String/Array} html
*/
Roo.Template = function(cfg){
+ // BC!
if(cfg instanceof Array){
cfg = cfg.join("");
}else if(arguments.length > 1){
cfg = Array.prototype.join.call(arguments, "");
}
- /**@private*/
+
if (typeof(cfg) == 'object') {
Roo.apply(this,cfg)
} else {
+ // bc
this.html = cfg;
}