rmariuzzo/checkboxes.js — pull request #10 by dkisselev (2014-11-07 05:06:09+00:00)
Title: Add a 'change' trigger to range checkboxes

When a user currently shift-selects a collection of boxes, the 'change'
trigger is only called for the one that they actually clicked on, even
though many boxes may have been updated. This causes problems when
trying to do something based on the contents of each checked box.

This commit triggers the change event of every box that the library
checks so that listeners are aware of the change.

Note that this may cause slowness when users range-select hundreds/
thousands of items.

For details, see GH issue #8