sheetjs/demos/requirejs
SheetJS 935821423f version bump 0.11.1: dist cleanup
- dist scripts properly export library
- XLS/XLSB formulae quote sheet names containing spaces
- skipHidden ported to streaming CSV write
- updated codepage to 1.11.0
- flow and TS updates
- webpack demo example using dist scripts
- requirejs demo
2017-08-05 02:32:57 -04:00
..
.gitignore version bump 0.8.7: bundlers 2017-03-04 20:14:08 -05:00
build.js version bump 0.8.7: bundlers 2017-03-04 20:14:08 -05:00
Makefile version bump 0.11.1: dist cleanup 2017-08-05 02:32:57 -04:00
README.md version bump 0.11.1: dist cleanup 2017-08-05 02:32:57 -04:00
requirejs.html version bump 0.11.1: dist cleanup 2017-08-05 02:32:57 -04:00
requirejs.js version bump 0.11.1: dist cleanup 2017-08-05 02:32:57 -04:00

RequireJS

The minified dist files trip up the RequireJS mechanism. To bypass, the scripts automatically expose an XLSX variable that can be used if the require callback argument is _XLSX rather than XLSX:

require(["xlsx.full.min"], function(_XLSX) { /* ... */ });

This demo uses the r.js optimizer to build a source file.