diff options
Diffstat (limited to 'vnfmarket/common/thirdparty/jquery/src/event/ajax.js')
-rw-r--r-- | vnfmarket/common/thirdparty/jquery/src/event/ajax.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vnfmarket/common/thirdparty/jquery/src/event/ajax.js b/vnfmarket/common/thirdparty/jquery/src/event/ajax.js new file mode 100644 index 00000000..500b36cd --- /dev/null +++ b/vnfmarket/common/thirdparty/jquery/src/event/ajax.js @@ -0,0 +1,22 @@ +define( [ + "../core", + "../event" +], function( jQuery ) { + +"use strict"; + +// Attach a bunch of functions for handling common AJAX events +jQuery.each( [ + "ajaxStart", + "ajaxStop", + "ajaxComplete", + "ajaxError", + "ajaxSuccess", + "ajaxSend" +], function( i, type ) { + jQuery.fn[ type ] = function( fn ) { + return this.on( type, fn ); + }; +} ); + +} ); |