Releases: ingmarh/backbone.viewcache
Releases · ingmarh/backbone.viewcache
Backbone.ViewCache 1.1.2
Maintenance release without user-facing changes. For an overview of the latest changes, see the previous version 1.1.1.
Backbone.ViewCache 1.1.1
- Fix auto-clear of expired cached views not happening timely (because every call to
Backbone.ViewCache.setalways re-set the auto-clear expireds time). - Fix implicit overwrite of previously set cache expiry time when a view is set into the cache. To force-set the default cache expiry time on the view, use
Backbone.ViewCache.set(view, true)orBackbone.ViewCache.set(view, 'route-fragment', true)method signatures. - Fix auto-clear of expired views functionality not starting when there is no default cache expiry (via "cacheExpiry" configuration setting), but the "checkExpireds" setting is on and a view with a defined cache expiry time (previously set with
setCacheExpiry) is set into the cache.
Backbone.ViewCache 1.1.0
- Adds "scrollToTopByDefault" configuration setting: When restoring the view’s scroll position, scroll to the top of the configured
scrollElementif the view currently has no saved scroll position. This setting is on by default. (#1)
Backbone.ViewCache 1.0.0
First release.