}
}
-
+
print("COMPRESSING ");
//var codeComp = pack(str, 10, 0, 0);
if (File.exists(minfile)) {
// if we are translating, write the translations strings at the top
// of the file..
+
if (this.translateJSON) {
} else {
this.out += out;
}
-
-
-
+
File.write(this.translateJSON, "");
for(var i=0; i < this.files.length; i++) {
var file = this.files[i];
this.timerPrint("Compressed");
+
+ if (out.length) {
+ File.write(minfile, str);
+ }
+
return out;