diff options
author | jaubourg <j@ubourg.net> | 2011-04-08 17:41:14 +0200 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-04-08 17:41:14 +0200 |
commit | 2594a935de347088cecac987c3868e9bb5f35194 (patch) | |
tree | 38d443f692f96bb65e548e5f95260201f51a5e38 /src/ajax.js | |
parent | 7a1c6beab0d92b1419050eb468773bf1138254a6 (diff) | |
download | jquery-2594a935de347088cecac987c3868e9bb5f35194.tar.gz jquery-2594a935de347088cecac987c3868e9bb5f35194.zip |
Applies exception in Style Guidelines regarding objects and functions when they are the last argument of a function call.
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ajax.js b/src/ajax.js index d94abd6fc..f0d722845 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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 |