From 732cc073cf0d881705d53babbfed82fe5a04c966 Mon Sep 17 00:00:00 2001 From: "xu.chenhui" Date: Sat, 5 Apr 2014 04:52:24 -0400 Subject: [PATCH] Fix a variable is undefined forever --- xlsx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlsx.js b/xlsx.js index 79a8038..14ce379 100644 --- a/xlsx.js +++ b/xlsx.js @@ -499,7 +499,7 @@ make_ssf(SSF); var XLSX = {}; (function(XLSX){ XLSX.version = '0.5.17'; -var current_codepage, current_cptable, cptable; +var current_codepage, current_cptable; if(typeof module !== "undefined" && typeof require !== 'undefined') { if(typeof cptable === 'undefined') cptable = require('codepage'); current_codepage = 1252; current_cptable = cptable[1252];