src/Resources.vala
authorAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 06:17:46 +0000 (14:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 24 Apr 2015 06:17:46 +0000 (14:17 +0800)
src/Resources.vala

index d4a94c6..9aff593 100644 (file)
@@ -22,7 +22,7 @@ public class Resources : Object
      static Resources singleton_val;
      
      string[] avail_files;
-     Gee.ArrayList<string,string> fetch_files;
+     Gee.HashMap<string,string> fetch_files;
      
      public static Resources singleton()
      {
@@ -37,7 +37,7 @@ public class Resources : Object
         {
                 
           this.avail_files = { 
-                  "roodata.json",
+                       "roodata.json",
                        "bootstrap.builder.html",
                        "roo.builder.html",
                        "roo.builder.js",
@@ -49,6 +49,7 @@ public class Resources : Object
                };
                this.fetch_files = new Gee.ArrayList<string>();
                for (var i=0;i < avail_files.length; i++) {
+                       
                        this.fetch_files.add(avail_files[i]);
                }