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:
4c5edcc
)
JsTemplate.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:33:22 +0000
(17:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 17 Nov 2011 09:33:22 +0000
(17:33 +0800)
JsTemplate.php
patch
|
blob
|
history
diff --git
a/JsTemplate.php
b/JsTemplate.php
index
6921d32
..
aa124f5
100644
(file)
--- a/
JsTemplate.php
+++ b/
JsTemplate.php
@@
-100,6
+100,9
@@
class Pman_Core_JsTemplate extends Pman {
$ret = array();
$ret[] = "var $name = function(t) {\n var ret=[];\n";
+
+ $funcs = [];
+
$indent = 1;
foreach($ar as $item) {
$in = str_repeat(" ", $indent);