projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1a5b30
)
examples/view/xtemplate.html
author
Alan Knowles
<alan@akbkhome.com>
Sat, 7 Apr 2012 06:30:17 +0000
(14:30 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sat, 7 Apr 2012 06:30:17 +0000
(14:30 +0800)
examples/view/xtemplate.html
patch
|
blob
|
history
diff --git
a/examples/view/xtemplate.html
b/examples/view/xtemplate.html
index
6cc7185
..
d14729b
100644
(file)
--- a/
examples/view/xtemplate.html
+++ b/
examples/view/xtemplate.html
@@
-13,12
+13,12
@@
Roo.onReady(function() {
var tpl = new Roo.XTemplate({
- html : '<
li>{pa.format:("Y-m-d")}</li
>'
+ html : '<
tpl for="parray"><li>{pa.format:("Y-m-d")}</li></tpl
>'
});
- tpl.append(Roo.get('body'),
- [
+ tpl.append(Roo.get('body'),
{
+
parray :
[
{
pa : new Date()
},
@@
-26,7
+26,7
@@
Roo.onReady(function() {
pa : new Date()
}
]
- );
+
}
);
});