JSDOC/CompressWhite.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:32:41 +0000 (13:32 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 16 Jul 2010 05:32:41 +0000 (13:32 +0800)
JSDOC/CompressWhite.js

index 13d6df7..e6a0855 100644 (file)
@@ -279,8 +279,8 @@ CompressWhite =  function (ts, packer, keepWhite)
         if (!tok) {
             break;
         }
-        if (tok.name == "COMM") {
-            tok.outData == '\n';
+        if (tok.type == "COMM") {
+            tok.outData = '\n';
         }
         
         if (tok.type == "NAME"  && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) {