Skip to content

Instantly share code, notes, and snippets.


Adrien LUCAS adrienlucas

View GitHub Profile
adrienlucas / thenable.js
Created Jun 12, 2017
jQuery Thenable stacking POC
View thenable.js
import jQuery from 'jquery';
it('stacks several promises with one rejection', () => {
const p1 = new jQuery.Deferred();
const p2 = new jQuery.Deferred();
const p3 = new jQuery.Deferred();
const stack = jQuery.when(...promises);

Keybase proof

I hereby claim:

  • I am adrienlucas on github.
  • I am adrienlucas ( on keybase.
  • I have a public key ASCu32wHMOVwGIyjYn8HN2oWjHucMDFQuqgzU-cqGpdX3wo

To claim this, I am signing this object: