Create CNAME

This commit is contained in:
SheetJSDev 2022-05-15 23:30:34 -04:00 committed by SheetJS
parent 6449ecc35e
commit 9865fa0037
2 changed files with 2 additions and 1 deletions

@ -3,6 +3,7 @@ build:
cd docz; pnpm build; cd ..
rm -rf docs
mv docz/build/ docs
cp CNAME docs
.PHONY: index
index: readme ## Rebuild site

@ -50,7 +50,7 @@ more common use cases including plain JavaScript.
4) Add an event handler for the `click` event to create a workbook and download:
```js
document.getElementById("TableToExport").addEventListener('click', function() {
document.getElementById("sheetjsexport").addEventListener('click', function() {
/* Create worksheet from HTML DOM TABLE */
var wb = XLSX.utils.table_to_book(document.getElementById("TableToExport"));
/* Export to file (start a download) */