projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba3ea6
)
JsRender/NodeToJs.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 31 Jul 2014 10:02:57 +0000
(18:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 31 Jul 2014 10:02:57 +0000
(18:02 +0800)
JsRender/NodeToJs.vala
patch
|
blob
|
history
diff --git
a/JsRender/NodeToJs.vala
b/JsRender/NodeToJs.vala
index
773dde6
..
f1f2ca1
100644
(file)
--- a/
JsRender/NodeToJs.vala
+++ b/
JsRender/NodeToJs.vala
@@
-226,7
+226,15
@@
public class JsRender.NodeToJs : Object {
// next.. is it a function.. or a raw string..
- if (kk[0][0] == '|' || kk[0][0] == '$' ) {
+ if (
+ kk[0][0] == '|'
+ ||
+ kk[0][0] == '$'
+ ||
+ kk[0] == "function"
+ ||
+ kk[0] == "function"
+ ) {
// does not hapepnd with arrays..
if (v.length < 1) { //if (typeof(el) == 'string' && !obj[i].length) { //skip empty.
continue;