this.files.add(f); //?? easier way?
}
}
+ FileOutputStream targetStream;
+ FileOutputStream targetDebugStream;
public void pack()
{
if (!this.files) {
throw new Packer.ArgumentError("No Files loaded before pack() called");
}
+
+
this.packAll();
}
}
}
-
+
private void packAll() // do the packing (run from constructor)
{
//this.transOrigFile= bpath + '/../lang.en.js'; // needs better naming...
//File.write(this.transfile, "");
- if (this.target) {
+ if (this.target.length) {
File.write(this.target, "");
}