JsRender/JsRender.vala
authorAlan Knowles <alan@roojs.com>
Thu, 5 Jun 2014 10:13:08 +0000 (18:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Jun 2014 10:13:08 +0000 (18:13 +0800)
JsRender/JsRender.vala

index dbb4e82..70ff2bd 100644 (file)
@@ -67,6 +67,7 @@ public class JsRender  : Object {
             case "Roo":
                 return new Roo(project, path);
         }
+               throw new Error.INVALID_FORMAT("JsRender Factory called with xtype=%s", xt);
         return null;    
     }
     
@@ -248,7 +249,9 @@ public class JsRender  : Object {
         return this.tree.mungeToString(false, pad, this.doubleStringProps);
         
     }
-    
+     public string toSource() {
+                return "??";
+        }
       
 }