From 78a6f5b152f40739769169c76726cead5cb7206b Mon Sep 17 00:00:00 2001 From: Ben Alman Date: Sun, 26 Dec 2010 22:49:01 +0000 Subject: [PATCH] Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed). --- src/ajax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4