repo.or.cz
/
jquery.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Build: update grunt-jscs-checker and pass with the new rules
[jquery.git]
/
src
/
event
/
ajax.js
blob
c808b583e592333f04979c7cc74680fba8ed75e3
1
define([
2
"../core",
3
"../event"
4
], function( jQuery ) {
5
6
// Attach a bunch of functions for handling common AJAX events
7
jQuery.each([
8
"ajaxStart",
9
"ajaxStop",
10
"ajaxComplete",
11
"ajaxError",
12
"ajaxSuccess",
13
"ajaxSend"
14
], function( i, type ) {
15
jQuery.fn[ type ] = function( fn ) {
16
return this.on( type, fn );
17
};
18
});
19
20
});