Commit 6aae3e10 authored by Rick Waldron's avatar Rick Waldron

Latest JSHint gets cranky with the _ vars in catch() {}

parent 87bd3b5a
......@@ -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
......
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