Fix a variable is undefined forever

This commit is contained in:
xu.chenhui 2014-04-05 04:52:24 -04:00
parent 0af8b20f0e
commit 732cc073cf

@ -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];