derickbailey/backbone.picky — pull request #25 by hashchange (2014-01-20 21:44:23+00:00)
Title: Events capturing when models are re-selected

Here are some of new events, triggered when models are re-selected:

- `reselected` (model),
- `reselect:one` (single-select collection),
- `reselect:any` (multi-select collection).

The PR is based on #23 (support for model sharing across collections).

There also is a change in the spec: `selectAll` and `deselectAll` no longer fire events when they are a no-op. This had been inconsistent with the behaviour of `select`, which does not trigger an event unless the selection is actually changed.

Tests and documentation are included.