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

index 3c18da6..d60beec 100644 (file)
@@ -225,7 +225,7 @@ CompressWhite =  function (ts, packer)
         // at this point we can apply a text translation kit...
         
         if ((tok.type == 'STRN') && (tok.name== 'DOUBLE_QUOTE')) {
-            if (packer.stringHandler) {
+            if (packer && packer.stringHandler) {
                 out += packer.stringHandler(tok);
                 continue;
             }