JSDOC/CompressWhite.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:04:30 +0000 (16:04 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 08:04:30 +0000 (16:04 +0800)
JSDOC/CompressWhite.js

index 7b44c6d..f698116 100644 (file)
@@ -84,10 +84,9 @@ CompressWhite =  function (ts, packer)
                 
                 ts.balance("(");
                  // although this var a=function(){},v,c; causes 
                 
                 ts.balance("(");
                  // although this var a=function(){},v,c; causes 
-                print("(1)LF : " +ts.lookTok(1).toString());
-                print("(2)LF : " +ts.look(1,true).toString());
-                if (ts.lookTok(1).type == 'NAME' && ts.lookTok(1,true).name == "NEWLINE") {
-                    print("ADD LINE BREAK!?");
+                
+                if (ts.lookTok(1).type == 'NAME' && ts.look(1,true).name == "NEWLINE") {
+                
                     ts.look(0).outData = ts.look(0).data+"\n";
                 }
                 // restore.. 
                     ts.look(0).outData = ts.look(0).data+"\n";
                 }
                 // restore..