harvesthq/chosen — pull request #586 by dingram (2012-04-20 10:17:48+00:00)
Title: Deselect event

A few things in this pull request -- let me know if you'd prefer them to be seperate.

1. Fixed the `Cakefile` so it doesn't conflict with the node.js reserved word `package`
2. Added support for a `data-removable` attribute on `option` elements in a multiple-select box, which can be set to "0" in order to stop them being deselected
3. Added support for a cancelable `liszt:deselect` event, so runtime code can decide whether to allow an item to be deselected. This can be prevented by calling the `preventDefault()` (jQuery) or `stop()` (Prototype) methods on the event object.