projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36f00e
)
Roo/DomTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:53:18 +0000
(18:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 10 Apr 2012 10:53:18 +0000
(18:53 +0800)
Roo/DomTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/DomTemplate.js
b/Roo/DomTemplate.js
index
b6cd10a
..
78baefb
100644
(file)
--- a/
Roo/DomTemplate.js
+++ b/
Roo/DomTemplate.js
@@
-170,7
+170,7
@@
Roo.extend(Roo.DomTemplate, Roo.Template, {
- tpls.push({
+ t
his.t
pls.push({
id: attr == 'name' ? value : id,
target: name,
exec: exec,
@@
-248,13
+248,7
@@
Roo.extend(Roo.DomTemplate, Roo.Template, {
}
++id;
}
- this.tpls = [];
- for(var i = tpls.length-1; i >= 0; --i){
- this.compileTpl(tpls[i]);
- this.tpls[tpls[i].id] = tpls[i];
- }
- this.master = tpls[tpls.length-1];
- return this;
+
},
/**
* same as applyTemplate, except it's done to one of the subTemplates