From 9865fa0037cac0492f29b9ac79143416a60ae482 Mon Sep 17 00:00:00 2001 From: SheetJSDev Date: Sun, 15 May 2022 23:30:34 -0400 Subject: [PATCH] Create CNAME --- Makefile | 1 + docz/docs/index.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 85b73c1..65987f2 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/docz/docs/index.md b/docz/docs/index.md index 31016d8..8f4df66 100644 --- a/docz/docs/index.md +++ b/docz/docs/index.md @@ -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) */