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:
82a10ef
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:33:41 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:33:41 +0000
(17:33 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
aa124f5
..
5be053e
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-101,7
+101,8
@@
class Pman_Core_JsTemplate extends Pman {
$ret[] = "var $name = function(t) {\n var ret=[];\n";
- $funcs = [];
+ $funcs = array();
+ $infunc = false;
$indent = 1;
foreach($ar as $item) {