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

index 7259560..272a1a2 100644 (file)
@@ -75,7 +75,7 @@ Packer = function(cfg)
     if (!this.target) {
         throw "No Target";
     }
-    if ((typeof(cfg.tmpDir) != 'undefined') && (!cfg.cleanup)) {
+    if (this.tmpDir  != Packer.prototype.tmpDir) && (!cfg.cleanup)) {
         this.cleanup = false; // do not clean up files.. = as tmpdir is set.
     }