X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FCompressWhite.js;h=50d7476e10984fdd2a4d6bfb8af89db6e7ce894d;hb=dad53f90789b90b0767d049a5c449b305d64941b;hp=d5dca8afc2c6807ed940722df663c01eeb5e1ed1;hpb=1c112ad8d5cecd0351642c79419edab08e1a9074;p=gnome.introspection-doc-generator diff --git a/JSDOC/CompressWhite.js b/JSDOC/CompressWhite.js index d5dca8a..50d7476 100644 --- a/JSDOC/CompressWhite.js +++ b/JSDOC/CompressWhite.js @@ -271,7 +271,8 @@ const CompressWhite = function (ts, packer, keepWhite) var out = ''; var outoff = 0; - out.length = ts.slen; // prealloc. + try { out.length = ts.slen; } catch (e) {} // prealloc. + out = ''; var tok; while (true) {