bgrins/spectrum — pull request #81 by henrikkok (2013-03-18 15:45:38+00:00)
Title: Added support for "real" events.

The docs mentions that spectrum supports events, but it is callbacks (the code also mentions callback).

I added events with ".spectrum" to all eventnames.

The event "beforeShow.spectrum" is preventable with preventDefault(), like it states in the docs.

It's easy to include Spectrum with e.g. Backbone.Views (and a lot more JS MV* frameworks that uses event-delegation) :-)