aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-04-15 14:16:43 -0700
committerjaubourg <j@ubourg.net>2011-04-15 14:16:43 -0700
commita519129e99ba03770e9290961d43fad9f6873a83 (patch)
tree999dbc951d3053de451e2f8ba5c9ef1d86426b68 /src/ajax/xhr.js
parent4d3cb7d7ee4cd709f3ed39d81a8ef014b60cd308 (diff)
downloadjquery-a519129e99ba03770e9290961d43fad9f6873a83.tar.gz
jquery-a519129e99ba03770e9290961d43fad9f6873a83.zip
Removes now unnecessary regexp and companion function. Fixes some spacing issues. Shortens field names.
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 0c837c5aa..ba4c3ec7e 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -104,7 +104,7 @@ if ( jQuery.support.ajax ) {
// Need an extra try/catch for cross domain requests in Firefox 3
try {
for ( i in headers ) {
- xhr.setRequestHeader( headers[ i ].name, headers[ i ].value );
+ xhr.setRequestHeader( headers[ i ].n, headers[ i ].v );
}
} catch( _ ) {}