Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12765 closed bug (notabug)

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

Reported by: [email protected] 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.

Change History (3)

comment:1 Changed 10 years ago by mikesherov

Component: unfileddeferred
Milestone: None1.8.3
Owner: set to jaubourg
Priority: undecidedblocker
Status: newassigned

Thanks for contributing. This is definitely a regression!

comment:2 in reply to:  1 Changed 10 years ago by jaubourg

Milestone: 1.8.3None
Owner: jaubourg deleted
Priority: blockerlow
Version: 1.8.21.8.0

Replying to mikesherov:

This is definitely a regression!

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

Last edited 10 years ago by jaubourg (previous) (diff)

comment:3 Changed 10 years ago by mikesherov

Resolution: notabug
Status: assignedclosed
Note: See TracTickets for help on using tickets.