Skip to content

Conversation

@jridgewell
Copy link

There's no need to return a Rejected Promise inside a #then block.

There's no need to return a Rejected Promise inside a `#then` block.
@rkatic
Copy link

rkatic commented Sep 26, 2016

Unfortunately this will not work with jQuery 2 promises, since it is not supporting throwing.

@everdimension
Copy link

@rkatic Can you please give an example of a scenario where Promise.reject will work correctly for jquery and throw will not?...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants