From: Ben Alman Date: Sun, 26 Dec 2010 22:49:01 +0000 (+0000) Subject: Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will... X-Git-Url: http://git.asbjorn.it/?p=jquery.git;a=commitdiff_plain;h=78a6f5b152f40739769169c76726cead5cb7206b Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed). --- diff --git a/src/ajax.js b/src/ajax.js index bac0ab1..18ea203 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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;