Skip to content
Permalink
Browse files
Removed unnecessary upper/lowercase, it's all just lowercase now (sin…
…ce $.ajax will uppercase as-needed).
  • Loading branch information
cowboy committed Dec 26, 2010
1 parent 1830db4 commit 78a6f5b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -113,8 +113,8 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp
};
});

jQuery.each( [ "GET", "POST" ], function( i, method ) {
jQuery[ method.toLowerCase() ] = function( url, data, callback, type ) {
jQuery.each( [ "get", "post" ], function( i, method ) {
jQuery[ method ] = function( url, data, callback, type ) {
// shift arguments if data argument was omited
if ( jQuery.isFunction( data ) ) {
type = type || callback;

0 comments on commit 78a6f5b

Please sign in to comment.