tuiHoneyPot

front and back end of my TUI honeypot
Log | Files | Refs | README

ajax-event-alias.js (296B)


      1 define( [
      2 	"../core",
      3 	"../ajax",
      4 	"../event"
      5 ], function( jQuery ) {
      6 
      7 "use strict";
      8 
      9 jQuery.each( [
     10 	"ajaxStart",
     11 	"ajaxStop",
     12 	"ajaxComplete",
     13 	"ajaxError",
     14 	"ajaxSuccess",
     15 	"ajaxSend"
     16 ], function( _i, type ) {
     17 	jQuery.fn[ type ] = function( fn ) {
     18 		return this.on( type, fn );
     19 	};
     20 } );
     21 
     22 } );