Skip to content
This repository was archived by the owner on Mar 8, 2021. It is now read-only.

2.0.0

Compare
Choose a tag to compare
@tymondesigns tymondesigns released this 10 Jun 18:58
· 54 commits to master since this release
Breaking Changes
  • Changed the way config is set via lockerProvider e.g.
lockerProvider.defaults({
    driver: 'session',
    namespace: 'myApp',
    separator: '.',
    eventsEnabled: true,
    extend: {}
});
General / Improvements
  • Added ability to extend locker at the config stage
  • Added keys() method to return an array of keys that exist within the current driver/namespace
  • Reduced size of minified file by removing now unnecessary functions
  • Adding third default parameter to put() method
  • Hugely refactored and simplified Gulp build process
  • Added jscs to enforce coding style
  • Namespaces can now contain the separator without any issues
  • Lots of micro optimisations