projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca61b2f
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:50:09 +0000
(17:50 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:50:09 +0000
(17:50 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
5cb87a9
..
8ab063f
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-126,12
+126,8
@@
class Pman_Core_JsTemplate extends Pman {
case ($inscript && ($item == '{end:}')):
$inscript = false;
continue;
-
-
- case ($inscript):
- $ret[] = $item;
- continue;
-
+
+
case ($item[0] != '{'):
if (!strlen(trim($item))) {
continue;