documentcloud/backbone — pull request #1568 by bengarnett (2012-08-21 03:13:07+00:00)
Title: call ajax success and error callbacks on 'this', the jquery context object

Allow access to the jQuery context object as 'this' inside of the ajax success and error callbacks instead of 'this' being the window object.

from http://api.jquery.com/jQuery.ajax
The this reference within all callbacks is the object in the context option passed to $.ajax in the settings; if context is not specified, this is a reference to the Ajax settings themselves.

simple test case http://jsbin.com/atawow/4/edit