scratch – Blame information for rev 125
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
125 | office | 1 | define([ |
58 | office | 2 | "../core", |
3 | "../event" |
||
4 | ], function( jQuery ) { |
||
5 | |||
6 | // Attach a bunch of functions for handling common AJAX events |
||
125 | office | 7 | jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { |
58 | office | 8 | jQuery.fn[ type ] = function( fn ) { |
9 | return this.on( type, fn ); |
||
10 | }; |
||
125 | office | 11 | }); |
58 | office | 12 | |
125 | office | 13 | }); |