jquery / jquery/api.jquery.com

deferred.then() documentation is not updated

Open
#1,110 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
325
Forks
260
PR merge metrics
No merged PRs in 30d

Description

The example 'Filter reject value:' in api.jquery.com is not updated to the last jQuery version. It will be good example to show several chained 'then' methods.

When the first 'then' is rejected, it should return new rejected promise to execute the second failCallback of the 'then'.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the deferred.then() documentation at api.jquery.com/deferred.then/ and inspect the example labeled “Filter reject value:”. Compare it with the last jQuery version and verify the described chained then behavior, including the rejected promise and second failCallback. Done means the example accurately demonstrates the updated behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
jquery
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.