projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957ad62
)
Roo/XTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 11:01:09 +0000
(19:01 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 11:01:09 +0000
(19:01 +0800)
Roo/XTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/XTemplate.js
b/Roo/XTemplate.js
index
708da8f
..
a19d417
100644
(file)
--- a/
Roo/XTemplate.js
+++ b/
Roo/XTemplate.js
@@
-41,7
+41,7
@@
var t = new Roo.XTemplate(
<tpl for="a_variable or condition.."></tpl>
<tpl if="a_variable or condition"></tpl>
<tpl exec="some javascript"></tpl>
- <tpl name="named_template"></tpl>
+ <tpl name="named_template"></tpl>
(experimental)
<tpl for="."></tpl> - just iterate the property..
<tpl for=".."></tpl> - iterates with the parent (probably the template)