git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will...
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
bac0ab1
..
18ea203
100644
(file)
--- 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;
// shift arguments if data argument was omited
if ( jQuery.isFunction( data ) ) {
type = type || callback;