Open mnowotka opened 9 years ago
There is a problem with promise implementation in jQuery.js I described here: https://stackoverflow.com/questions/15837964/not-asynchronous-function-executed-as-jquery-deferred.
The solution is to use:
setTimeout(dfd.notify,0);
But this makes code less readable. This should be replaced with:
_.defer(dfd.notify);
which better explains it's purpose.
There is a problem with promise implementation in jQuery.js I described here: https://stackoverflow.com/questions/15837964/not-asynchronous-function-executed-as-jquery-deferred.
The solution is to use:
But this makes code less readable. This should be replaced with:
which better explains it's purpose.