src/JsRender/PlainFile.vala
authorAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:29:11 +0000 (15:29 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:29:11 +0000 (15:29 +0800)
src/JsRender/PlainFile.vala

index 72ddeab..1625634 100644 (file)
@@ -28,19 +28,10 @@ namespace JsRender {
             // fixme...
             this.language = "vala";
             
-            
-            //this.items = false;
-            //if (cfg.json) {
-            //    var jstr =  JSON.parse(cfg.json);
-            //    this.items = [ jstr ];
-            //    //console.log(cfg.items.length);
-            //    delete cfg.json; // not needed!
-            // }
-             
-            
+          
             
             // super?!?!
-            this.id = "file-gtk-%d".printf(gid++);
+            this.id = "file-plain-%d".printf(gid++);
             //console.dump(this);
             // various loader methods..