Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
This commit is contained in:
parent
7a1c6beab0
commit
2594a935de
6 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue