Is there any promisses interface for Ajax global events?
According to jQuery documentation, the
global Ajax event handlers must be implemented using callback functions on the document. Otherwise,
local
jQuery.ajax() implement events using
promises.
Is there a way of doing so for the global events?