JSDOC/CompressWhite.js
authorAlan Knowles <alan@roojs.com>
Thu, 13 Dec 2012 08:38:44 +0000 (16:38 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 13 Dec 2012 08:38:44 +0000 (16:38 +0800)
JSDOC/CompressWhite.js

index 720f19d..f80c3cc 100644 (file)
@@ -277,7 +277,7 @@ CompressWhite =  function (ts, packer, keepWhite)
     while (true) {
         
         tok = keepWhite ? ts.next() : ts.nextTok();
-        print(JSON.stringify(tok.identifier,null,4));
+        
         if (!tok) {
             break;
         }
@@ -285,6 +285,8 @@ CompressWhite =  function (ts, packer, keepWhite)
             tok.outData = '\n';
         }
         
+        print("INDENTIFIER : " + tok.type + ':' + tok.data));
+        
         if (tok.type == "NAME"  && tok.identifier 
             && tok.identifier.mungedValue && tok.identifier.mungedValue.length) {
             //f.write(tok.identifier.mungedValue);