JSDOC/CompressWhite.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 08:26:49 +0000 (16:26 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 14 Jul 2010 08:26:49 +0000 (16:26 +0800)
JSDOC/CompressWhite.js

index da6e505..a79372e 100644 (file)
@@ -92,7 +92,9 @@ CompressWhite =  function (ts, packer)
                 // if next is not ';' -> make it so...
                 // although this var a=function(){},v,c; causes 
                 if (ts.lookTok(1).data != ';' && ts.lookTok(1).data != '}' && ts.look(1,true).name == "NEWLINE") {
+                    
                     ts.look(0).outData = ts.look(0).data+";";
+                    print("ADDING SEMI: " + ts.look(0).toString();
                 }
                 // restore.. 
                 ts.cursor = cu;