projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9deb3c
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 10:56:16 +0000
(18:56 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 10:56:16 +0000
(18:56 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
17078ef
..
7d43faa
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-141,7
+141,7
@@
class Pman_Core_JsTemplate extends Pman {
continue;
case ($item[1] == '!'):
- $ret[] = $in .
"$item;";
+ $ret[] = $in .
substr($item,1,-1) .';'
continue;
case (substr($item,1,3) == 'if('):