RepublicOfKids / SingAlongWithMe

Karaoke for everyone.
2 stars 1 forks source link

Use a deferred object to get rdio and musixmatch data #19

Closed ryanjadhav closed 11 years ago

ryanjadhav commented 11 years ago

shoot those api requests in parallel rather than serially.

refer to http://api.jquery.com/deferred.promise/

ryanjadhav commented 11 years ago

Currently musixmatch fires with a callback to query rdios API. This is terrible and slower than it should be.

ryanjadhav commented 11 years ago

http://api.jquery.com/jQuery.when/