File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ QUnit.test( "trigger() shortcuts", function( assert ) {
9797} ) ;
9898
9999if ( includesModule ( "ajax" ) ) {
100- ajaxTest ( "jQuery.ajax() - events with context" , 12 , function ( assert ) {
100+ ajaxTest ( "Ajax events aliases ( with context) " , 12 , function ( assert ) {
101101 var context = document . createElement ( "div" ) ;
102102
103103 function event ( e ) {
@@ -113,10 +113,10 @@ if ( includesModule( "ajax" ) ) {
113113 return {
114114 setup : function ( ) {
115115 jQuery ( context ) . appendTo ( "#foo" )
116- . on ( " ajaxSend" , event )
117- . on ( " ajaxComplete" , event )
118- . on ( " ajaxError" , event )
119- . on ( " ajaxSuccess" , event ) ;
116+ . ajaxSend ( event )
117+ . ajaxComplete ( event )
118+ . ajaxError ( event )
119+ . ajaxSuccess ( event ) ;
120120 } ,
121121 requests : [ {
122122 url : url ( "name.html" ) ,
You can’t perform that action at this time.
0 commit comments