forked from sheetjs/sheetjs
SheetJS
dc2d391fbc
- all utilities are now wrapped in XLSX object - codepage handling (h/t @xch89820) - formula tag attributes (h/t @shaunthomas999) - hyperlink support (h/t @sysarchitect, fixes #55) - coverage test spinner (to prevent travis timeouts)
11 lines
412 B
JavaScript
11 lines
412 B
JavaScript
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];
|
|
}
|
|
function reset_cp() {
|
|
current_codepage = 1252; if(typeof cptable !== 'undefined') current_cptable = cptable[1252];
|
|
}
|
|
function _getchar(x) { return String.fromCharCode(x); }
|
|
|