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