Skip to content

v0.1.8

Latest
Compare
Choose a tag to compare
@jpederson jpederson released this 21 Aug 06:44
· 34 commits to gh-pages since this release
  • Added 'off' and 'remove' aliases for 'stop' and 'clear' actions.
  • Added to the storage_method option the ability to pass a valid storage object reference. It now accepts either local or session strings; otherwise, a storage object reference that has the functions getItem(), removeItem() and setItem() can be passed for usage instead. Useful if you're supporting browsers with a custom storage-like polyfill. Default is 'local'
  • Added the option storage_key_prefix to prefix a string to the storage key. This option is useful if you're using the likes of data-squirrel="" instead of adding the class squirrel, as you can add a prefix without having to include in every attribute value. Default is empty
  • Improved JSHint configuration for cleaner, efficient code.
  • Fixed scope of onload function.
  • Removed deprecated version number field from bower.json.