Skip to main content

Bug Tracker

Side navigation

#12765 closed bug (notabug)

Opened October 19, 2012 03:09AM UTC

Closed October 19, 2012 03:04PM UTC

deferred.then([SuccessArrayFuncs],failFunc) does not work as described

Reported by: jquery@mark.org Owned by:
Priority: low Milestone: None
Component: deferred Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

See the following jsfiddle.

http://jsfiddle.net/xckt2/4/

The documentation implies multiple doneCallBacks can be passed in as an array. Doing so (at least with 1.8.2) seems to not fire any of the doneCallBacks. Perhaps it is designed to work differently, but if so, the documentation is incorrect.

Attachments (0)
Change History (3)

Changed October 19, 2012 01:47PM UTC by mikesherov comment:1

component: unfileddeferred
milestone: None1.8.3
owner: → jaubourg
priority: undecidedblocker
status: newassigned

Thanks for contributing. This is definitely a regression!

Changed October 19, 2012 02:35PM UTC by jaubourg comment:2

_comment0: Replying to [comment:1 mikesherov]: \ > This is definitely a regression! \ \ Not when you remember that `then`is now `pipe`. That's a documentation problem.1350657434666526
milestone: 1.8.3None
owner: jaubourg
priority: blockerlow
version: 1.8.21.8.0

Replying to [comment:1 mikesherov]:

This is definitely a regression!

Not when you remember that then is now pipe. That's a documentation problem.

Changed October 19, 2012 03:04PM UTC by mikesherov comment:3

resolution: → notabug
status: assignedclosed