aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-10-15 18:05:36 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-10-15 18:05:36 -0400
commit6aae3e1038925f8f22d6c0aeedf74f0358890be4 (patch)
treedb48567b40d483b31eb184e834b048df0aec2fbf /src/ajax/xhr.js
parent87bd3b5ada5c277aef6422eac1fb3813d2b2c825 (diff)
downloadjquery-6aae3e1038925f8f22d6c0aeedf74f0358890be4.tar.gz
jquery-6aae3e1038925f8f22d6c0aeedf74f0358890be4.zip
Latest JSHint gets cranky with the _ vars in catch() {}
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index b6f5d7f48..a24feaf1a 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -94,7 +94,7 @@ if ( jQuery.support.ajax ) {
for ( i in headers ) {
xhr.setRequestHeader( i, headers[ i ] );
}
- } catch( _ ) {}
+ } catch( err ) {}
// Do send the request
// This may raise an exception which is actually
@@ -150,7 +150,7 @@ if ( jQuery.support.ajax ) {
// on any attempt to access responseText (#11426)
try {
responses.text = xhr.responseText;
- } catch( _ ) {
+ } catch( err ) {
}
// Firefox throws an exception when accessing