JSDOC/Packer.js
[gnome.introspection-doc-generator] / JSDOC / Packer.js
index b49ec74..619df62 100644 (file)
@@ -102,7 +102,7 @@ Packer = function(cfg)
         
     }
      
-    
+    print(this.translateJSON);
     this.timer =  new Date() * 1;
     this.packAll();
     
@@ -152,7 +152,7 @@ Packer.prototype = {
     cleanup : true,  
     /**
      * @cfg {Boolean} keepWhite (optional) do not remove white space in output.
-     *    Defaults to false if you set tmpDir, otherwise true.
+     *    usefull for debugging compressed files.
      */
     
     keepWhite: true,
@@ -360,10 +360,11 @@ Packer.prototype = {
             keepWhite : true,  
             keepComments : true, 
             sepIdents : true,
-            collapseWhite : false
+            collapseWhite : true
         });
         this.timerPrint("START" + fn);
         
+        print(JSON.stringify(tr null ,4 ));
         // we can load translation map here...
         
         var toks = tr.tokenize(new TextStream(str)); // dont merge xxx + . + yyyy etc.