forked from sheetjs/sheetjs
SheetJS
61d2e55cc6
- ODS hooks + very basic parser (ods.js) - handle implicit row/col spec (h/t @EarlJS, see http://git.io/2lwOuA)
7 lines
335 B
JavaScript
7 lines
335 B
JavaScript
/* Helper function to call out to ODS parser */
|
|
function parse_ods(zip, opts) {
|
|
if(typeof module !== "undefined" && typeof require !== 'undefined' && typeof ODS === 'undefined') ODS = require('./dist/od' + 's');
|
|
if(typeof ODS === 'undefined' || !ODS.parse_ods) throw new Error("Unsupported ODS");
|
|
return ODS.parse_ods(zip, opts);
|
|
}
|