- Fixed UMD wrapper.
- Added UMD wrapper.
- No longer re-render upon add() and remove() events in the collection.
- Due to the above, "render" events no longer trigger during add() or remove() calls on a collection.
- Made use of backbone.viewOptions by including it and updating the source to use it's facilities.
- Patch for better bower support.
- If a modelView's element is an
- , don't wrap in an extra
- when rendering
- Fix accidental item removal after sort stop when rendering as table.
- Add sortableOptions constructor option which is passed through to the created jQuery sortable.
- data-item-id attribute has been changed to data-model-cid for clarity
- selectableModelsFilter can no longer be a string.
- After the collection view is reordered via dragging: if the collection has a comparator, sort after adding all the models in the visual order.
- Never "rerender" the collection view unless it has already been rendered. For example, adding models to the collection should not render the collection view if it was not previously rendered.
- Don't listen to events from old collection when setOptions( "collection", newCollection ) is called
- Use css classes to keep track of and determine visibility of an item
- Call remove() on views in viewManager when they are removed (so they stop listening to events)
- Add
detachedRendering
option (defaults tofalse
) to improve performance by rendering all modelViews before inserting into the DOM.
- Fix to work with underscore.js 1.5.1 (remove
_.bindAll
and use.bind
where necessary). - Listen for
mousedown
event instead ofclick
whenclickToSelect
is enabled. - Hide empty list caption when dragging item into a
sortable
collection view.
- Model views that represent a particular model are now reused between renders.