Roo/Template.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 28 Jul 2010 04:54:56 +0000 (12:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 28 Jul 2010 04:54:56 +0000 (12:54 +0800)
Roo/Template.js

index 3b9d6a3..7084170 100644 (file)
@@ -29,16 +29,18 @@ t.append('some-element', {id: 'myid', cls: 'myclass', name: 'foo', value: 'bar'}
 * @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;
     }