diff options
Diffstat (limited to 'bower_components/jquery/src/event/ajax.js')
| -rw-r--r-- | bower_components/jquery/src/event/ajax.js | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bower_components/jquery/src/event/ajax.js b/bower_components/jquery/src/event/ajax.js index 278c403..98e194b 100644 --- a/bower_components/jquery/src/event/ajax.js +++ b/bower_components/jquery/src/event/ajax.js @@ -1,13 +1,20 @@ -define([ +define( [ "../core", "../event" ], 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 ); }; -}); +} ); -}); +} ); |
