Skip to content

Commit

Permalink
#DHCL-23 : add(dist) : Setup for dist folder (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
borracciaBlu committed May 24, 2020
1 parent b8c48bd commit 2d4d1b3
Show file tree
Hide file tree
Showing 4 changed files with 1,217 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
npm-debug.log
.nyc_output/
coverage/
dist/
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,13 @@ var itm = document.querySelectorAll('.btn');
var cls = ['d-none'];
var thunk = toggleClass(itm, cls);
setTimeout(thunk, 3000);
```

## CDN
Recommended CDN:

https://unpkg.com/@borracciablu/dh-classlist@latest/dist/dh-classlist.min.js

```
var {addClass} = window.dhClasslist;
```

0 comments on commit 2d4d1b3

Please sign in to comment.