root / drupal7 / sites / all / libraries / flexslider-2.5.0 / bower_components / jquery / src / event / ajax.js @ 0aee3c58
1 |
define([ |
---|---|
2 |
"../core",
|
3 |
"../event"
|
4 |
], function( jQuery ) {
|
5 |
|
6 |
// Attach a bunch of functions for handling common AJAX events
|
7 |
jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { |
8 |
jQuery.fn[ type ] = function( fn ) {
|
9 |
return this.on( type, fn ); |
10 |
}; |
11 |
}); |
12 |
|
13 |
}); |