JSDOC/CompressWhite.js
[gnome.introspection-doc-generator] / 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;
             }