4 ms·
jQuery loosely follows the Promises/A spec [1], so Q.js [2] might have been better choice. [1] http://domenic.me/2012/10/14/youre-missing-the-point-of-promises
by jbmartin 13y ago
jQuery loosely follows the Promises/A spec [1], so Q.js [2] might have been better choice.
[1] http://domenic.me/2012/10/14/youre-missing-the-point-of-promises/ http://domenic.me/2012/10/14/youre-missing-the-point-of-prom...
[2] http://documentup.com/kriskowal/q/# http://documentup.com/kriskowal/q/#
- SeanDav 13y agoI disagree. I would rather see examples of Promises in pure Javascript. It is the more general approach and not everyone uses jQuery.
- jbmartin 13y agoMy mistake. I thought the blog post was about using jQuery. I totally agree with you.
- AdrianRossouw 13y agosince jquery 1.8 they fixed the most outrageous limitation with their deferred implementation (then should return a new promise), and I actually prefer their implementation. that said, i make use of underscore.deferred, which is the jquery implementation as an underscore mixin.