tkahn/Smooth-Div-Scroll — pull request #129 by leopic (2013-10-16 16:40:38+00:00)
Title: Changing bindinds to widget._on to allow cleanup on destroy.

We were running an AB Test where we had to destroy the widget after it had been initialized, most of the bindings were cleaned up on _destroy, except for the ones set on body and window, so there were errors being thrown every time each time one of those events was being triggered.

Also, if you do all of your bindings with _on you don't need to clean them up on destroy :) http://api.jqueryui.com/jQuery.widget/#method-_on