src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 04:38:52 +0000 (12:38 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 04:38:52 +0000 (12:38 +0800)
src/JsRender/NodeToVala.vala

index fcf4fec..c0fd8b5 100644 (file)
@@ -38,7 +38,7 @@ public class JsRender.NodeToVala : Object {
         * ctor - just initializes things
         * - wraps a render node 
         */
-       public NodeToVala( Node node,  int depth, NodeToVala? top
+       public NodeToVala( Node node,  int depth, NodeToVala? parent
        {
 
                
@@ -171,7 +171,7 @@ public class JsRender.NodeToVala : Object {
        } 
        public string mungeChild(  Node cnode)
        {
-               var x = new  NodeToVala(cnode,  this.depth+1, this.top);
+               var x = new  NodeToVala(cnode,  this.depth+1, this);
                return x.munge();
        }