From 145235624023e292c8b1f50f489c11e86828d095 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 13 Dec 2012 16:38:44 +0800 Subject: [PATCH] JSDOC/CompressWhite.js --- JSDOC/CompressWhite.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index 720f19d..f80c3cc 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -277,7 +277,7 @@ CompressWhite = function (ts, packer, keepWhite) while (true) { tok = keepWhite ? ts.next() : ts.nextTok(); - print(JSON.stringify(tok.identifier,null,4)); + if (!tok) { break; } @@ -285,6 +285,8 @@ CompressWhite = function (ts, packer, keepWhite) tok.outData = '\n'; } + print("INDENTIFIER : " + tok.type + ':' + tok.data)); + if (tok.type == "NAME" && tok.identifier && tok.identifier.mungedValue && tok.identifier.mungedValue.length) { //f.write(tok.identifier.mungedValue); -- 2.39.2