Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.

This commit is contained in:
jaubourg 2011-04-08 17:41:14 +02:00
parent 7a1c6beab0
commit 2594a935de
6 changed files with 10 additions and 10 deletions

View file

@ -248,7 +248,7 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp
jQuery.fn[ o ] = function( f ){
return this.bind( o, f );
};
} );
});
jQuery.each( [ "get", "post" ], function( i, method ) {
jQuery[ method ] = function( url, data, callback, type ) {
@ -267,7 +267,7 @@ jQuery.each( [ "get", "post" ], function( i, method ) {
dataType: type
});
};
} );
});
jQuery.extend({
@ -757,7 +757,7 @@ jQuery.extend({
// Serialize the form elements
jQuery.each( a, function() {
add( this.name, this.value );
} );
});
} else {
// If traditional, encode the "old" way (the way 1.3.2 or older