mirror of
https://github.com/jquery/jquery.git
synced 2026-01-31 16:07:59 -05:00
Ajax: do not quote "throws" option - use dot notation instead
Fixes gh-2571 Closes gh-2542
This commit is contained in:
@@ -264,7 +264,7 @@ function ajaxConvert( s, response, jqXHR, isSuccess ) {
|
||||
if ( conv !== true ) {
|
||||
|
||||
// Unless errors are allowed to bubble, catch and return them
|
||||
if ( conv && s[ "throws" ] ) { // jscs:ignore requireDotNotation
|
||||
if ( conv && s.throws ) {
|
||||
response = conv( response );
|
||||
} else {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user