Bug Tracker

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:


The `Promise` documentation refers to the pre-1.8 methods isResolved and isRejected, and (possibly more importantly) doesn't mention the new state method.


This object provides a subset of the methods of the Deferred object (then, done, fail, always, pipe, and state) to prevent users from changing the state of the Deferred. (In 1.7 and earlier, it has the now-removed isResolved and isRejected methods rather than state.)

Is there a documentation project I can fork and send a pull request for?

Change History (2)

comment:2 Changed 10 years ago by timmywil

Resolution: notabug
Status: newclosed

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. :)

Note: See TracTickets for help on using tickets.