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:
8c8a2fc
)
JsRender/NodeToVala.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 1 Sep 2014 09:28:25 +0000
(17:28 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 1 Sep 2014 09:28:25 +0000
(17:28 +0800)
JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/JsRender/NodeToVala.vala
b/JsRender/NodeToVala.vala
index
4aa5160
..
427a1fc
100644
(file)
--- a/
JsRender/NodeToVala.vala
+++ b/
JsRender/NodeToVala.vala
@@
-29,9
+29,11
@@
public class JsRender.NodeToVala : Object {
public NodeToVala( Node node, int depth, NodeToVala? top)
{
+
+
this.node = node;
this.depth = depth;
- this.inpad = string.nfill(depth
*4
, ' ');
+ this.inpad = string.nfill(depth
> 0 :4 : 0
, ' ');
this.pad = this.inpad + " ";
this.ipad = this.inpad + " ";
this.cls = node.xvala_cls;