mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Ajax: do not quote "throws" option - use dot notation instead
Ref c9cf250daa
Fixes gh-2571
This commit is contained in:
parent
20ddbe4f59
commit
c530661629
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user