airbrake/airbrake-js — pull request #24 by ndbroadbent (2013-03-07 02:46:59+00:00)
Title: Set guid on wrapped jQuery.fn.on, so that caller can remove registered handlers

jQuery adds `guid`s to callback functions, so they can be removed later. The airbrake callback wrapping code was removing these guids, so jquery-ui sliders were breaking (mouse-move handlers weren't being de-registered.)

jQuery does the same thing internally when wrapping callbacks: https://github.com/jquery/jquery/blob/master/src/event.js#L761-762