From 2e95f7158d771fb7338779b13209264ea7bd4ab4 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 19 Apr 2010 16:04:30 +0800 Subject: [PATCH] JSDOC/CompressWhite.js --- JSDOC/CompressWhite.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 7b44c6d..f698116 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -84,10 +84,9 @@ CompressWhite = function (ts, packer) 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.. -- 2.39.2