diff options
Diffstat (limited to 'js/vendor/jquery/src/event/ajax.js')
-rw-r--r-- | js/vendor/jquery/src/event/ajax.js | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/js/vendor/jquery/src/event/ajax.js b/js/vendor/jquery/src/event/ajax.js index 278c403ee..98e194bf0 100644 --- a/js/vendor/jquery/src/event/ajax.js +++ b/js/vendor/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 ); }; -}); +} ); -}); +} ); |