if (File.isFile(js)) {
// check file time.. = bjs is less than compiled file..
if (File.mtime(fp) < File.mtime(js)) {
- olist.push(imports[fp.replace(/\.bjs$/, '.js')]);
+ print ("LOADING" + js);
+ olist.push(imports[js]);
return;
}
}
var gtkbuilder = new imports.Builder.Provider.File.Gtk.Gtk({ path : fp });
gtkbuilder.loadItems(function() { });
+ print ("COMPILING" + js);
var fn = gtkbuilder.saveJS();
if (fn === false) { // skip files that do not contain anythng!
return;