define(["../core","../event"],function(jQuery){// Attach a bunch of functions for handling common AJAX eventsjQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,type){jQuery.fn[type]=function(fn){returnthis.on(type,fn);};});});