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

index e7a30c5..ce34285 100644 (file)
@@ -177,7 +177,13 @@ public class JsRender.NodeToVala : Object {
                var x = new  NodeToVala(cnode,  this.depth+1, this);
                return x.munge();
        }
-
+       public void addLine(string str)
+       {
+               this.cur_line++;
+               this.ret += str;
+       }
+       
+       
        public void globalVars()
        {
                if (this.depth > 0) {