From 06bfcf839449fd82e3547a706aa0a11bca7c9bfb Mon Sep 17 00:00:00 2001 From: SheetJS Date: Sat, 19 Aug 2017 19:13:21 -0400 Subject: [PATCH] updating to 0.11.3 --- ajax.html | 4 +- index.html | 361 ++++++++++++++++++----------------------------- tests/core.js | 93 ++++++++---- tests/index.html | 4 +- xlsx.core.min.js | 26 ++-- xlsx.full.min.js | 28 ++-- xlsx.js | 181 +++++++++++++++++++----- xlsxworker.js | 4 +- xlsxworker1.js | 29 ---- xlsxworker2.js | 29 ---- 10 files changed, 376 insertions(+), 383 deletions(-) delete mode 100644 xlsxworker1.js delete mode 100644 xlsxworker2.js diff --git a/ajax.html b/ajax.html index 54d483e..8781c59 100644 --- a/ajax.html +++ b/ajax.html @@ -64,9 +64,7 @@ if(typeof Uint8Array !== 'undefined') { if(typeof console !== 'undefined') console.log("onload", new Date()); var arraybuffer = oReq.response; var data = new Uint8Array(arraybuffer); - var arr = new Array(); - for(var i = 0; i != data.length; ++i) arr[i] = String.fromCharCode(data[i]); - var wb = XLSX.read(arr.join(""), {type:"binary"}); + var wb = XLSX.read(data, {type:"array"}); process_wb(wb); }; } else { diff --git a/index.html b/index.html index d969fd6..9fe5010 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ -JS-XLSX Live Demo +SheetJS Live Demo