davidchambers / tutor

JavaScript interface for the Gatherer card database
https://gatherer.wizards.com/
Do What The F*ck You Want To Public License
149 stars 18 forks source link

use Q deferreds to manage concurrent requests #68

Closed davidchambers closed 11 years ago

robdennis commented 11 years ago

Yeah Travis, we see you validating pull requests. :-)

davidchambers commented 11 years ago

How do others feel about this patch? It doesn't significantly reduce loc, but the code is quite a bit clearer. Does it warrant the cost of an additional dependency? I imagine we'll find other uses for promises as we flesh out the API.

wolfgangcodes commented 11 years ago

:+1: