]> source.dussan.org Git - jquery.git/commitdiff
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will... 148/head
authorBen Alman <cowboy@rj3.net>
Sun, 26 Dec 2010 22:49:01 +0000 (22:49 +0000)
committerBen Alman <cowboy@rj3.net>
Sun, 26 Dec 2010 22:49:01 +0000 (22:49 +0000)
src/ajax.js

index bac0ab18267aee00c65a5a105337fc2ae823a0f2..18ea203d0e5bf80df494484b1c8df13b70776174 100644 (file)
@@ -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;