No-Library (pure JS), HTML, CSS, JavaScript
No-Library (pure JS), HTML, SCSS, JavaScript
AngularJS 1.4.8, HTML, CSS, JavaScript
AngularJS 1.1.1, HTML, CSS, JavaScript
jQuery (edge), HTML, CSS, JavaScript
jQuery 1.7.1, HTML, CSS, JavaScript
jQuery 1.7.2, HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript
A simple example where promises are chained and called one after another. Shows how a rejected promise will break the chain and skip all the next promises until it meets an errorCallback.