JSDOC/CompressWhite.js
authoralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:28:56 +0000 (13:28 +0800)
committeralan <alan@alanfast.akbkhome.com>
Mon, 19 Apr 2010 05:28:56 +0000 (13:28 +0800)
JSDOC/CompressWhite.js

index a2fc8ca..42f1ee2 100644 (file)
@@ -34,7 +34,7 @@ CompressWhite =  function (ts, packer)
         }
         
         // add semi-colon's where linebreaks are used... - not foolproof yet.!
-        if (tok.type == "NAME")) {
+        if (tok.type == "NAME")  {
             //var tokident = ts.look(-1).data + tok.data + ts.look(1).data +  ts.look(2).data;
             // a = new function() {} 
             if (ts.lookTok(1).data == '=' && ts.lookTok(2).name == 'NEW'  &&