From 4b42a9d0ec1b9ff1147c784e977f61814ae8665f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 13:32:41 +0800 Subject: [PATCH] JSDOC/CompressWhite.js --- JSDOC/CompressWhite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 13d6df7..e6a0855 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -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) { -- 2.39.2