From bd609ed07d3d85e968d4200aa7c44837b321ba5c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Aug 2011 16:46:58 +0800 Subject: [PATCH] JSDOC/Packer.js --- JSDOC/Packer.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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; - */ } } -- 2.39.2