jupiterjs/jquerypp — pull request #44 by jbrumwell (2012-08-12 18:14:24+00:00)
Title: namespace support for event.setuphelper

The event.setupHelper does not add the namespace for the startingEvent varialbe, given the following setup:

$(this).on({
'draginit.mover': $.proxy(this._setupDrag, this),
'dragend.mover': $.proxy(this._cleanupDrag, this),
'dragcleanup.mover': $.proxy(this._revertedDrag, this)
})

Calling:

$(this).off('.mover');

will release all but the mousedown event, because it's not currently namespaced.

Cheers,

Jay