diff options
Diffstat (limited to 'src/event/ajax.js')
-rw-r--r-- | src/event/ajax.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/event/ajax.js b/src/event/ajax.js index 278c403ee..c808b583e 100644 --- a/src/event/ajax.js +++ b/src/event/ajax.js @@ -4,7 +4,14 @@ define([ ], function( jQuery ) { // Attach a bunch of functions for handling common AJAX events -jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { +jQuery.each([ + "ajaxStart", + "ajaxStop", + "ajaxComplete", + "ajaxError", + "ajaxSuccess", + "ajaxSend" +], function( i, type ) { jQuery.fn[ type ] = function( fn ) { return this.on( type, fn ); }; |