JSDOC/Packer.js
authoralan <alan@alanfast.akbkhome.com>
Wed, 21 Apr 2010 05:43:33 +0000 (13:43 +0800)
committeralan <alan@alanfast.akbkhome.com>
Wed, 21 Apr 2010 05:43:33 +0000 (13:43 +0800)
JSDOC/Packer.js

index 200dc06..66de07b 100644 (file)
@@ -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) {
+            
+            
+            
+        }
     
     
     },