Commit 78a6f5b1 authored by Ben Alman's avatar Ben Alman

Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax...

Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).
parent 1830db42
...@@ -113,8 +113,8 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp ...@@ -113,8 +113,8 @@ jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".sp
}; };
}); });
jQuery.each( [ "GET", "POST" ], function( i, method ) { jQuery.each( [ "get", "post" ], function( i, method ) {
jQuery[ method.toLowerCase() ] = function( url, data, callback, type ) { jQuery[ method ] = function( url, data, callback, type ) {
// shift arguments if data argument was omited // shift arguments if data argument was omited
if ( jQuery.isFunction( data ) ) { if ( jQuery.isFunction( data ) ) {
type = type || callback; type = type || callback;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment