Roo/XTemplate.js
authorAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 03:33:14 +0000 (11:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sat, 7 Apr 2012 03:33:14 +0000 (11:33 +0800)
Roo/XTemplate.js

index 6d4a998..453c743 100644 (file)
@@ -105,11 +105,11 @@ Roo.extend(Roo.XTemplate, Roo.Template, {
                 }
             }
             tpls.push({
-                id: id,
+                id:     id,
                 target: name,
-                exec: exec,
-                test: fn,
-                body: m[1]||''
+                exec:   exec,
+                test:   fn,
+                body:   m[1] || ''
             });
             s = s.replace(m[0], '{xtpl'+ id + '}');
             ++id;