Skip to content

Commit

Permalink
Fix ESM sandbox absolute path. Fix ESM sandbox URL typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
replete committed Aug 4, 2024
1 parent 7228ffc commit ae0431b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
- allows easier event setting with `.on('revoke', (sec) => { if (sec === 'analytics') window.reload() )})`
- `import biscuitman from '/dist/esm/biscuitman.withcss.mjs'; let bm = biscuitman.create(options);`
- experimental stage, only worth maintaining if the codebase remains pretty much the same, consider this another packaging option
- see [ESM version demo](https://replete.github.io/biscuitman/index-esm.htmls) to see how to use it
- see [ESM version demo](https://replete.github.io/biscuitman/index-esm.html) to see how to use it
- preliminary e2e tests ![tests](https://github.com/replete/biscuitman/actions/workflows/node.js.yml/badge.svg)

## How to use
Expand Down
2 changes: 1 addition & 1 deletion index-esm.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

<!-- Biscuitman config -->
<script type="module" id="js-biscuitman-init">
import biscuitman from '/dist/esm/biscuitman.withcss.mjs'
import biscuitman from './dist/esm/biscuitman.withcss.mjs'
let bm = biscuitman.create({
message: 'By clicking "Accept All", you agree to the use of cookies for improving browsing, providing personalized ads or content, and analyzing traffic. {link}',
info: `Cookies categorized as "Essential" are stored in your browser to enable basic site functionalities.
Expand Down

0 comments on commit ae0431b

Please sign in to comment.