projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2cb5d
)
Roo/XTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:49:52 +0000
(18:49 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:49:52 +0000
(18:49 +0800)
Roo/XTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/XTemplate.js
b/Roo/XTemplate.js
index
2f91987
..
172504f
100644
(file)
--- a/
Roo/XTemplate.js
+++ b/
Roo/XTemplate.js
@@
-65,7
+65,12
@@
Roo.extend(Roo.XTemplate, Roo.Template, {
*/
re : /\{([\w-\.]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,
-
+ /**
+ * compile the template
+ *
+ * This is not recursive, so I'm not sure how nested templates are really going to be handled..
+ *
+ */
compile: function()
{
var s = this.html;