3 ms·
Gator .on(x, e1, s1, c1) .on(x, e2, s2, c2) ; Or is chaining desired after partial application (meaning `x` is chained)? var onX = chain
by strager 14y ago
Gator
.on(x, e1, s1, c1)
.on(x, e2, s2, c2)
;
Or is chaining desired after partial application (meaning `x` is chained)?
var onX = chainFn(Gator.on, x);
onX
(e1, s1, c1)
(e2, s2, c2)
;
It seems that a library can provide chaining if needed.