forked from protobi/js-xlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version bump 0.6.2: bits reorganization
- updated SSF to 0.6.5 - XLSB 'dbcs' uses codepage - README bugfix (h/t @noodles) - new tests: rawjson and json baselines generated by hand - single cell ranges are encoded as cells ("A1" instead of "A1:A1") (h/t @clxl) - source code alignment with js-xls
- Loading branch information
1 parent
78a22d3
commit b645f6e
Showing
21 changed files
with
304 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* xlsx.js (C) 2013-2014 SheetJS -- http://sheetjs.com */ | ||
/* vim: set ts=2: */ | ||
/*jshint eqnull:true */ | ||
var XLSX = {}; | ||
(function(XLSX){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
XLSX.version = '0.6.1'; | ||
XLSX.version = '0.6.2'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
var current_codepage = 1252, current_cptable; | ||
if(typeof module !== "undefined" && typeof require !== 'undefined') { | ||
if(typeof cptable === 'undefined') cptable = require('codepage'); | ||
current_cptable = cptable[current_codepage]; | ||
} | ||
function reset_cp() { set_cp(1252); } | ||
function set_cp(cp) { current_codepage = cp; if(typeof cptable !== 'undefined') current_cptable = cptable[cp]; } | ||
|
||
var _getchar = function(x) { return String.fromCharCode(x); }; | ||
if(typeof cptable !== 'undefined') _getchar = function(x) { | ||
if (current_codepage === 1200) return String.fromCharCode(x); | ||
if (current_cptable) return current_cptable.dec[x]; | ||
return cptable.utils.decode(current_codepage, [x%256,x>>8])[0]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
XLSX.parseZip = parseZip; | ||
XLSX.read = readSync; | ||
XLSX.readFile = readFileSync; | ||
XLSX.parseZip = parseZip; | ||
XLSX.utils = utils; | ||
XLSX.SSF = SSF; |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.