pill
pill copied to clipboard
Add dynamic content loading to static sites with only 1 KiB of JS
Generate digest files on build step. Previously it was a `checksum.txt` which is actually can be confusing and contained no important information, like hash digest algorithm nor contained properly formatted...
I've moved the utility functions out and annotated them for sanity. They can now also be unit tested more easily.
I think the docs should have a simple diagram explaining the hooks and events order: ``` click link --> pill method --> pill method | hook | event --> etc....
proposed hook name: hook: `Pill.onInitialization();` proposed event name `pill:initialized` readme should be updated to reflect changes
Currently data input in form fields will be lost when navigating through history. It could cause to data loss. Browsers are preserving it in some cases. Pill's implementation should be...
Obviously the browser would need fetch and promise or polyfills. But maybe browser support should be added to readme?
I am using Pill and Snipcart together in a project. [Snipcart](https://snipcart.com/) is a "simple shopping cart solution that allows you to turn any website into a fully customizable e-commerce platform"....
Add `PillOptions.cache` option to overwrite Pill's cache. It should help to test Pill and to increase flexibility to solve different compatibility issues with manual Pill configuration. This property should be...
### Expected behavior: When you serve the local files the pill links should fetch without loading the page ### Actual behavior Default behavior of anchor clicks needs to be prevented...
Cannot read property 'scroll' of undefined at `window.scrollTo(0,e.state.scroll||0)`