This commit is contained in:
SheetJS 2023-03-25 20:55:35 -04:00
parent 821130bed1
commit 4471237699
3 changed files with 8 additions and 8 deletions

@ -161,7 +161,7 @@ Custom Code > Static Resources should now list `sheetjs`:
The script can be loaded from component code with:
```js
import XLSX from '@salesforce/resourceUrl/sheetjs';
import sheetjs from '@salesforce/resourceUrl/sheetjs';
```
The library includes a version number that can be displayed:
@ -379,4 +379,4 @@ The simple export has all of the data:
[SheetJS Pro](https://sheetjs.com/pro) offers additional styling options like
cell styling, automatic column width calculations, and frozen rows.
:::
:::

@ -158,7 +158,7 @@ sudo steamos-readonly disable
3) Configure keyring:
```bash
echo "keyserver hkps://keyserver.ubuntu.com" >> /etc/pacman.d/gnupg/gpg.conf
sudo sh -c 'echo "keyserver hkps://keyserver.ubuntu.com" >> /etc/pacman.d/gnupg/gpg.conf'
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman-key --refresh-keys
@ -167,7 +167,7 @@ sudo pacman-key --refresh-keys
4) Install dependencies:
```bash
yay -S base-devel mercurial subversion
sudo pacman -S base-devel mercurial subversion
```
</details>
@ -227,7 +227,7 @@ This step may take a while as it will be downloading a number of test files.
make test_misc
# Full Build
cd modules; make; cd ..
cd modules; make clean; make; cd ..
make dist
```
@ -262,7 +262,7 @@ git checkout 51a861900092bfc01b2fa9960d4c932dcbeb6925
```bash
make clean
cd modules; make; cd ..
cd modules; make clean; make; cd ..
make
make dist
```
@ -288,7 +288,7 @@ The two hashes should match.
8) To return to the HEAD commit, run
```bash
git checkout HEAD
git checkout master
```
### Test in web browsers

@ -65,7 +65,7 @@ document.getElementById("sheetjsexport").addEventListener('click', function() {
<details><summary><b>How to automate with NodeJS</b> (click to show)</summary>
[The "Headless Automation" demo](/docs/demos/headless) includes complete examples
[The "Headless Automation" demo](/docs/demos/net/headless) includes complete examples
using the `puppeteer` and `playwright` browser automation frameworks.
</details>