Opened 11 years ago
Closed 11 years ago
#12164 closed bug (invalid)
A promise object's then method does not return the original target object's properties.
Reported by: | flowersinthesand | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | deferred | Version: | 1.8rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
To reproduce the problem.
- Prepare a plain target object having specific property.
- Make a deferred object and a promise object with the target object using the deferred object.
- Call the then method of the promise object
- Check if the returned object has that specific property.
Here is jsfiddle. http://jsfiddle.net/Lbruk/
Change History (1)
comment:1 Changed 11 years ago by
Component: | unfiled → deferred |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
then is now implemented like pipe, so it returns a new promise: http://bugs.jquery.com/ticket/11010
Use done, fail and progress for chaining, they will work as usual.