ractivejs/v0.x

Chaining then()s comment

paulie4 opened this issue · 1 comments

A Promise's then() function always returns a Promise (see the code and the Promises/A+ spec), and the "doSomething" callback function (i.e. the onFulfilled parameter) is always called asynchronously, so the documentation's comment should change to say something like, "Since then() functions return a promise, you can chain operations efficiently". Please fix this comment:
https://github.com/ractivejs/docs.ractivejs.org/blob/master/docs/0.7/Promises.md.hbs#L58

This portion is already removed. Ractive uses native promises and promise workflows are now widely known. Methods that return promises are also documented on the methods themselves https://ractive.js.org/api/#instance-methods .