pack.js
[gnome.introspection-doc-generator] / pack.js
diff --git a/pack.js b/pack.js
index af18f3b..09a94a6 100755 (executable)
--- a/pack.js
+++ b/pack.js
@@ -6,17 +6,12 @@
  * -o Output
  * -t Translate json file.
  * -w Cache / working dir.
- * -c force cleanup. 
  * -C no cleanup (use with -w if you need are using a cache directory.)
  *
  * compresses files listed as arguments and outputs result
  */
-TextStream      = imports['JSDOC/TextStream.js'].TextStream;
-TokenReader     = imports['JSDOC/TokenReader.js'].TokenReader;
-ScopeParser     = imports['JSDOC/ScopeParser.js'].ScopeParser;
-TokenStream     = imports['JSDOC/TokenStream.js'].TokenStream;
-CompressWhite   = imports['JSDOC/CompressWhite.js'].CompressWhite;
-CompressWhite   = imports['JSDOC/Packer.js'].Packer;
+
+Packer          = imports['JSDOC/Packer.js'].Packer;
 File = imports.File.File;
  
   
@@ -46,11 +41,8 @@ for(var i =0; i < args.length;i++) {
         i++;
         continue;
     }
-    if (args[i] == '-c') {
-        cfg.cleanup = true;
-        continue;
-    }
-    if (args[i] == '-c') {
+    
+    if (args[i] == '-C') {
         cfg.cleanup = false;
         continue;
     }