3 ms·
I'm glad promises are gaining traction in JavaScript, but it's a shame they chose to use jQuery promises rather than CommonJS Promises/A. The differences in err
by tlrobinson 14y ago
I'm glad promises are gaining traction in JavaScript, but it's a shame they chose to use jQuery promises rather than CommonJS Promises/A. The differences in error handling are significant.
See Domenic Denicola's comment at the bottom of the article, and his excellent "You're Missing the Point of Promises" post: https://gist.github.com/3889970 https://gist.github.com/3889970