jquery
Version:
JavaScript library for DOM operations
18 lines (15 loc) • 286 B
JavaScript
import { jQuery } from "../core.js";
import "../ajax.js";
import "../event.js";
jQuery.each( [
"ajaxStart",
"ajaxStop",
"ajaxComplete",
"ajaxError",
"ajaxSuccess",
"ajaxSend"
], function( _i, type ) {
jQuery.fn[ type ] = function( fn ) {
return this.on( type, fn );
};
} );