forked from sheetjs/sheetjs
updating to 0.11.6
This commit is contained in:
parent
939cf5338a
commit
3649c02041
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,5 +1,12 @@
|
||||
node_modules
|
||||
package-lock.json
|
||||
*.tgz
|
||||
test_files/
|
||||
_book/
|
||||
misc/coverage.html
|
||||
misc/prof.js
|
||||
v8.log
|
||||
tmp
|
||||
*.[tT][xX][tT]
|
||||
*.[cC][sS][vV]
|
||||
*.[dD][iIbB][fF]
|
||||
@ -14,6 +21,9 @@ test_files/
|
||||
*.[uU][oO][sS]
|
||||
*.[wW][kKqQbB][S1234567890]
|
||||
*.[qQ][pP][wW]
|
||||
*.[bB][iI][fF][fF][23458]
|
||||
*.[rR][tT][fF]
|
||||
*.123
|
||||
*.sheetjs
|
||||
*.exe
|
||||
*.img
|
||||
|
@ -20,12 +20,9 @@ a { text-decoration: none }
|
||||
</pre>
|
||||
<pre id="out"></pre>
|
||||
<br />
|
||||
<!-- uncomment the next line here for encoding support -->
|
||||
<!--<script src="dist/cpexcel.js"></script>-->
|
||||
<script src="iemagic.js"></script>
|
||||
<script src="shim.js"></script>
|
||||
<script src="jszip.js"></script>
|
||||
<script src="xlsx.js"></script>
|
||||
<script src="xlsx.full.min.js"></script>
|
||||
<script>
|
||||
function to_csv(workbook) {
|
||||
var result = [];
|
||||
|
802
tests/core.js
802
tests/core.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
28
xlsx.core.min.js
vendored
28
xlsx.core.min.js
vendored
File diff suppressed because one or more lines are too long
25
xlsx.full.min.js
vendored
25
xlsx.full.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,14 +1,12 @@
|
||||
/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
||||
/* uncomment the next line for encoding support */
|
||||
importScripts('dist/cpexcel.js');
|
||||
importScripts('jszip.js');
|
||||
importScripts('xlsx.js');
|
||||
importScripts('shim.js');
|
||||
importScripts('xlsx.full.min.js');
|
||||
postMessage({t:"ready"});
|
||||
|
||||
onmessage = function (oEvent) {
|
||||
onmessage = function (evt) {
|
||||
var v;
|
||||
try {
|
||||
v = XLSX.read(oEvent.data.d, {type: oEvent.data.b});
|
||||
v = XLSX.read(evt.data.d, {type: evt.data.b});
|
||||
postMessage({t:"xlsx", d:JSON.stringify(v)});
|
||||
} catch(e) { postMessage({t:"e",d:e.stack||e}); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user