218 Views
It seems that jQuery provides implicit promise functionality around their queues and dequeuing functionality. This allows for promise objects to be returned for animations, which are, after all, nothing more than encapsulated "fx" queues.
1 comments
dpeterson
10/31/2011 10:11:23 AM
This does clean up callback code quite a bit, useful when you need to handle lots of DOM objects popping in and out. I have written tons of code to handle objects being loaded from AJAX requests, this could clean that up quite a bit.