Hacker News new | ask | show | jobs
by MatthewRayfield 2732 days ago
Looks like it's adding a canvas element to the divs and positioning it to line up.
1 comments

Ah yes I missed the var canvas line and just presumed the code was getting a context on the selected div instead, a feature I didn't know was possible (it isn't).

The canvas declaration is staring right at me now that I review it again. That's life...