diff --git a/xlsx.js b/xlsx.js index 4e6843436..b031823b1 100644 --- a/xlsx.js +++ b/xlsx.js @@ -20827,7 +20827,7 @@ function write_cfb_ctr(cfb, o) { function write_zip_type(wb, opts) { var o = opts||{}; - style_builder = new StyleBuilder(opts); + var style_builder = new StyleBuilder(opts); var z = write_zip(wb, o); var oopts = {}; if(o.compression) oopts.compression = 'DEFLATE'; @@ -21521,7 +21521,7 @@ var XmlNode = (function () { return this; } - var APOS = "'"; QUOTE = '"' + var APOS = "'", QUOTE = '"'; var ESCAPED_QUOTE = { } ESCAPED_QUOTE[QUOTE] = '"' ESCAPED_QUOTE[APOS] = ''' @@ -21600,8 +21600,8 @@ var StyleBuilder = function (options) { // cache style specs to avoid excessive duplication - _hashIndex = {}; - _listIndex = []; + let _hashIndex = {}; + let _listIndex = []; return {