Skip to content

Commit

Permalink
Ajax: do not quote "throws" option - use dot notation instead
Browse files Browse the repository at this point in the history
Ref c9cf250
Fixes gh-2571
  • Loading branch information
markelog committed Sep 7, 2015
1 parent 20ddbe4 commit c530661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c530661

Please sign in to comment.