|
45d856cab3
|
add onUserToggle callback, move onInit and onChange up
|
2021-10-04 09:25:10 -04:00 |
|
|
fa128cb222
|
remove super-duper edge case testing of localStorage support
use the following methods externally to test on older browsers if needed:
- https://www.npmjs.com/package/storage-available
- https://www.npmjs.com/package/local-storage-fallback
- https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API#testing_for_availability
|
2021-08-22 10:38:26 -04:00 |
|
|
755ac19dba
|
small cleanup
|
2021-08-05 08:41:45 -04:00 |
|
|
cfa1f575e3
|
add onInit and onChange callback function options
|
2021-08-05 07:54:47 -04:00 |
|
|
eedd0a96e0
|
much simpler bundling with rollup, also generate separate ESM and CJS files
|
2021-08-04 19:16:33 -04:00 |
|
|
a91d67cfeb
|
a bit more cleanup
|
2021-08-04 15:34:22 -04:00 |
|
|
e4d7e4f61b
|
remove unnecessary deps (now zero 😎)
|
2021-08-04 15:19:54 -04:00 |
|
|
4881b908e9
|
expose an init function instead of exporting as module default
|
2021-08-04 15:00:26 -04:00 |
|
|
df3b462de0
|
bundle into a UMD script via webpack for both browser & node
|
2021-08-04 11:31:37 -04:00 |
|