cujojs / when

A solid, fast Promises/A+ and when() implementation, plus other async goodies.
Other
3.44k stars 396 forks source link

Sniff for setTimeout before vertx #381

Closed briancavalier closed 9 years ago

briancavalier commented 9 years ago

Check for setTimeout before vertx, since vertx is the only env that doesn't have it. This avoids calling require unless we absolutely have to because setTimeout is undefined.

Fix #378