git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1830db4
)
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will...
author
Ben Alman
<cowboy@rj3.net>
Sun, 26 Dec 2010 22:49:01 +0000
(22:49 +0000)
committer
Ben Alman
<cowboy@rj3.net>
Sun, 26 Dec 2010 22:49:01 +0000
(22:49 +0000)
src/ajax.js
patch
|
blob
|
history
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;