jstayton/jquery-manifest — pull request #9 by rauhryan (2012-05-09 22:26:13+00:00)
Title: Deferred support

Hey Justin,

I've converted all of your formatting callbacks to support jQuery.Deferred

I need to be able to validate the users input through an ajax call to the server and
toggle an error state class on the item just before it gets popped onto the DOM

Deferred allows me to return a deferred object and resolve it later.

$.when can detect when people are using sync callbacks and everything still works as expected.

This change does require jquery 1.5+. I don't know how big of a deal that is your you.

-Ryan