Skip to main content

Adam

Member since Apr 17, 2012

Recent Blog Comments By Adam

  • Using Deferred Objects In jQuery 1.5 To Normalize API Responses

    Posted on Apr 18, 2012 at 7:42 PM

    @Adam, I believe I have the answer thanks to Eric Hynd's "chaining hotness". Create your own deferred in the API wrapper and you can reject/resolve in your validation or error handling as needed. I didn't realize that the deferred object works that way. At first it seems like it always ... read more »

  • Using Deferred Objects In jQuery 1.5 To Normalize API Responses

    Posted on Apr 17, 2012 at 12:43 AM

    Ben, I can't thank you enough for your informative posts on jQuery's deferred object. It's really wonderful and has saved me from callback hell! Question for you: I would like to do something analogous to the following in your example, but am not sure how best to go about it... Check a parameter f... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel