mythz/jquip — pull request #38 by statianzo (2012-08-30 18:57:58+00:00)
Title: Event testing, on-off, and live fixes

Last one for a bit. ;-)

Added some base tests for events.

Added `on()` and `off()` because these are a commonly used interface with any recent jQuery plugins.

Fixed issue #16. First, the selector property wasn't getting set, was always "", which is why `live()` was broken. Second, used apply() to invoke the callback passed to `one()` to ensure the proper "this" context and arguments.