updating to 0.10.3

This commit is contained in:
SheetJS 2017-05-17 14:01:23 -04:00
parent d38a23fa24
commit 6ae28696f2
3 changed files with 18 additions and 18 deletions

14
xlsx.core.min.js vendored

File diff suppressed because one or more lines are too long

12
xlsx.full.min.js vendored

File diff suppressed because one or more lines are too long

10
xlsx.js

@ -6,7 +6,7 @@
/*global global, exports, module, require:false, process:false, Buffer:false */
var XLSX = {};
(function make_xlsx(XLSX){
XLSX.version = '0.10.2';
XLSX.version = '0.10.3';
var current_codepage = 1200;
/*global cptable:true */
if(typeof module !== "undefined" && typeof require !== 'undefined') {
@ -99,7 +99,7 @@ var chr0 = /\u0000/g, chr1 = /[\u0001-\u0006]/;
/*jshint -W041 */
var SSF = {};
var make_ssf = function make_ssf(SSF){
SSF.version = '0.9.2';
SSF.version = '0.9.3';
function _strrev(x) { var o = "", i = x.length-1; while(i>=0) o += x.charAt(i--); return o; }
function fill(c,l) { var o = ""; while(o.length < l) o+=c; return o; }
function pad0(v,d){var t=""+v; return t.length>=d?t:fill('0',d-t.length)+t;}
@ -249,9 +249,9 @@ function parse_date_code(v,opts,b2) {
if(Math.abs(out.u) < 1e-6) out.u = 0;
fixopts(opts != null ? opts : (opts=[]));
if(opts.date1904) date += 1462;
if(out.u > 0.999) {
if(out.u > 0.9999) {
out.u = 0;
if(++time == 86400) { time = 0; ++date; }
if(++time == 86400) { out.T = time = 0; ++date; ++out.D; }
}
if(date === 60) {dout = b2 ? [1317,10,29] : [1900,2,29]; dow=3;}
else if(date === 0) {dout = b2 ? [1317,8,29] : [1900,1,0]; dow=6;}
@ -5630,7 +5630,7 @@ var PRN = (function() {
if(cc == sepcc) ++C; else { C = 0; ++R; }
}
for(;end < str.length;++end) switch((cc=str.charCodeAt(end))) {
case 0x22: if(instr || (end - start == 0)) instr = !instr; break;
case 0x22: instr = !instr; break;
case sepcc: case 0x0a: case 0x0d: if(!instr) finish_cell(); break;
default: break;
}