src/JsRender/PlainFile.vala
authorAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 06:12:47 +0000 (14:12 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 May 2015 06:12:47 +0000 (14:12 +0800)
src/JsRender/PlainFile.vala

index 9008063..55029c2 100644 (file)
@@ -81,8 +81,8 @@ namespace JsRender {
        public   override void  loadItems() throws GLib.Error // : function(cb, sync) == original was async.
        {
           
-          GLib.FileUtils.get_contents(this.path, out this.contents);
-          
+              GLib.FileUtils.get_contents(this.path, out this.contents);
+              this.loaded = true;
        }