src/JsRender/NodeToVala.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 07:58:21 +0000 (15:58 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 Feb 2024 07:58:21 +0000 (15:58 +0800)
src/JsRender/NodeToVala.vala

index 18fe88a..b96e8f9 100644 (file)
@@ -25,7 +25,7 @@ public abstract class JsRender.NodeToVala : NodeWriter {
 
        protected string this_el = "??";
         
-       //int child_count = 1; // used to number the children.
+       int child_count = 1; // used to number the children.
        public string cls;  // node fqn()
        public string xcls;
        
@@ -67,7 +67,7 @@ public abstract class JsRender.NodeToVala : NodeWriter {
 
                this.ignoreWrappedList  = new Gee.ArrayList<string>();
                this.myvars = new Gee.ArrayList<string>();
-               //this.child_count = 1;
+               this.child_count = 1;
                 
        }