hbostic

hitch to to a deferred

Discussion created by hbostic on Nov 20, 2011
Latest reply on Nov 20, 2011 by hbostic
Is it possible to hitch to a deferred?  Something like the following:


dl.then(dojo.hitch(this,function(res){
      //res has a value without the hitch
      //with the hitch, not so much
}))



I would like to access some properties of this inside the resolution if possible.  This is my first time leveraging deferreds, so I could be doing something wrong

Outcomes