D3 3.x, HTML, CSS, JavaScript
Given a background color, determine whether or not black text or white text should be used.
How to tell whether or not a function has been passed to a directive and provide a default behavior if one has not.
Zepto 1.0rc1, HTML, CSS, JavaScript
No-Library (pure JS), HTML, CSS, JavaScript