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:
92b3125
)
JsRender/Node.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 5 Jun 2014 07:44:45 +0000
(15:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 5 Jun 2014 07:44:45 +0000
(15:44 +0800)
JsRender/Node.vala
patch
|
blob
|
history
diff --git
a/JsRender/Node.vala
b/JsRender/Node.vala
index
aa219be
..
36da795
100644
(file)
--- a/
JsRender/Node.vala
+++ b/
JsRender/Node.vala
@@
-46,7
+46,11
@@
public class JsRender.Node {
{
var k = this.props.get(key);
if (k == null) {
- return "";
+ k = this.props.get("|" + key);
+ if (k == null) {
+
+ return "";
+ }
}
return k;
@@
-54,7
+58,9
@@
public class JsRender.Node {
/* creates javascript based on the rules */
public Node? findProp(string n) {
-
+ for(var i=0;i< this.items.length;i++) {
+
+ }
}