blob: b96c0aa8230bbeabb1316308faca2e1acabb316e [file] [log] [blame]
Copybara botbe50d492023-11-30 00:16:42 +01001define( [
2 "../core",
Renovate botf591dcf2023-12-30 14:13:54 +00003 "../ajax",
Copybara botbe50d492023-11-30 00:16:42 +01004 "../event"
5], function( jQuery ) {
6
7"use strict";
8
Copybara botbe50d492023-11-30 00:16:42 +01009jQuery.each( [
10 "ajaxStart",
11 "ajaxStop",
12 "ajaxComplete",
13 "ajaxError",
14 "ajaxSuccess",
15 "ajaxSend"
Renovate botf591dcf2023-12-30 14:13:54 +000016], function( _i, type ) {
Copybara botbe50d492023-11-30 00:16:42 +010017 jQuery.fn[ type ] = function( fn ) {
18 return this.on( type, fn );
19 };
20} );
21
22} );