Skip to main content

Bug Tracker

Side navigation

#14345 closed bug (notabug)

Opened September 08, 2013 01:17PM UTC

Closed September 08, 2013 11:08PM UTC

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, 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?

Attachments (0)
Change History (2)

Changed September 08, 2013 01:35PM UTC by dido comment:1

Changed September 08, 2013 11:08PM UTC by timmywil comment:2

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