From 68fb7329d97a8c561e80f5b2d547ec88ef78fbda Mon Sep 17 00:00:00 2001 From: alan Date: Wed, 21 Apr 2010 13:43:33 +0800 Subject: [PATCH] JSDOC/Packer.js --- JSDOC/Packer.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/JSDOC/Packer.js b/JSDOC/Packer.js index 200dc06..66de07b 100644 --- a/JSDOC/Packer.js +++ b/JSDOC/Packer.js @@ -78,7 +78,7 @@ Packer = function(cfg) if ((typeof(cfg.tmpDir) != 'undefined') && (!cfg.cleanup)) { this.cleanup = false; // do not clean up files.. = as tmpdir is set. } - this.tmpFiles = []; + this.timer = new Date() * 1; this.packAll(); @@ -104,7 +104,6 @@ Packer.prototype = { translateJson : '', // json based list of strings in all files. - tmpFiles : false, // list of temporary files - cleaned up at end.. /** * @prop cleanup {Boolean} (optional) clean up temp files after done - * Defaults to false if you set tmpDir, otherwise true. @@ -226,7 +225,11 @@ Packer.prototype = { //File.append(dout, "\n");// end the function - + if (this.cleanup) { + + + + } }, -- 2.39.2