Releases: ingmarh/backbone.viewcache
Releases · ingmarh/backbone.viewcache
Backbone.ViewCache 1.1.2
This release contains no code changes.
See version 1.1.1 for an overview of the latest changes.
Backbone.ViewCache 1.1.1
- Fix auto-clear of expired cached views not happening timely (because every call to
Backbone.ViewCache.set
always 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
scrollElement
if the view currently has no saved scroll position. This setting is on by default. (#1)
Backbone.ViewCache 1.0.0
First release.