From: Alan Knowles Date: Thu, 18 Aug 2011 08:46:58 +0000 (+0800) Subject: JSDOC/Packer.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=bd609ed07d3d85e968d4200aa7c44837b321ba5c JSDOC/Packer.js --- diff --git a/JSDOC/Packer.js b/JSDOC/Packer.js index 45ec11f..5442d84 100644 --- a/JSDOC/Packer.js +++ b/JSDOC/Packer.js @@ -28,6 +28,7 @@ var x = new Packer({ files : [ "/location/of/file1.js", "/location/of/file2.js", ... ], target : "/tmp/output.js", debugTarget : "/tmp/output.debug.js", // merged file without compression. + debugTranslateTarget : "/tmp/output.translate.js" translateJSON: "/tmp/translate.json", @@ -233,6 +234,8 @@ Packer.prototype = { continue; } + // debug Target + if (this.debugTarget) { File.append(this.debugTarget, File.read(file)); } @@ -254,16 +257,7 @@ Packer.prototype = { print("compare : " + mt + "=>" + ot); if (mt >= ot) { continue; - /* - // then the min'files time is > than original.. - var str = File.read(minfile); - print("using MIN FILE "+ minfile); - if (str.length) { - File.append(outpath, str + "\n"); - } - continue; - */ } }