Bug Tracker

Changes between Initial Version and Version 1 of Ticket #12253, comment 2


Ignore:
Timestamp:
Aug 13, 2012, 12:49:27 PM (8 years ago)
Author:
jaubourg
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12253, comment 2

    initial v1  
    1 Using `when`, you "join" two promises. As of 1.8, you also "join" contexts. So, `this` in the context of you `when` call is an array containing both contexts. Just deference to get the one context you need: http://jsfiddle.net/3D4wq/
     1Using `when`, you "join" two promises. As of 1.8, you also "join" contexts. So, `this` in the context of your `when` call is an array containing both contexts. Just deference to get the one context you need: http://jsfiddle.net/3D4wq/