Opened 10 years ago
Closed 10 years ago
#14345 closed bug (notabug)
Promise documentation refers to old methods
Reported by: | T.J. Crowder | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The `Promise` documentation refers to the pre-1.8 methods isResolved
and isRejected
, and (possibly more importantly) doesn't mention the new state
method.
Perhaps:
This object provides a subset of the methods of the
Deferred
object (then
,done
,fail
,always
,pipe
, andstate
) to prevent users from changing the state of theDeferred
. (In 1.7 and earlier, it has the now-removedisResolved
andisRejected
methods rather thanstate
.)
Is there a documentation project I can fork and send a pull request for?
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Thank you for pointing out the necessary place to fix that @dido. Issues to related to api.jquery.com should be reported on the github issues page for the repo linked above. Note: a pull request suffices as an issue. :)
I believe it's at https://github.com/jquery/api.jquery.com.
This is the line in question