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 78a6f5b152f40739769169c76726cead5cb7206b
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;

0 comments on commit 78a6f5b

Please sign in to comment.
You can’t perform that action at this time.