when to resolve jquery notify
Hi , i am new to jquery deferred , in my code i am using jquery.notify , it goes like this
somefunction : function()
{
$.each(' some variable to loop', funtion()
{
$.get("some url ")
.done(function(color){
deferred.notify(color);
});
}
return deferred.promise();
}
Can any one tell me when to resolve that deferred object