projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
262adcb
)
Roo/XTemplate.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:44:43 +0000
(18:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 9 Apr 2012 10:44:43 +0000
(18:44 +0800)
Roo/XTemplate.js
patch
|
blob
|
history
diff --git
a/Roo/XTemplate.js
b/Roo/XTemplate.js
index
b989086
..
e74c3bf
100644
(file)
--- a/
Roo/XTemplate.js
+++ b/
Roo/XTemplate.js
@@
-76,7
+76,7
@@
Roo.extend(Roo.XTemplate, Roo.Template, {
nameRe = /^<tpl\b[^>]*?for="(.*?)"/,
ifRe = /^<tpl\b[^>]*?if="(.*?)"/,
execRe = /^<tpl\b[^>]*?exec="(.*?)"/,
- namedRe = /^<tpl\b[^>]*?name="(
[\w]+)"/,
+ namedRe = /^<tpl\b[^>]*?name="(
\w+)"/, // named templates..
m,
id = 0,
tpls = [];