3 ms·
there's still no nodeList.prototype.forEach. You can(and should) make it but it's pretty sad qsa was implemented without fixing the most basic thing about its r
by nailer 13y ago
there's still no nodeList.prototype.forEach. You can(and should) make it but it's pretty sad qsa was implemented without fixing the most basic thing about its result.
Also jquery neatly abstracts single/ multiple element operations making for shorter code.
Use jquery 2, it's tiny and gives you the tenseness without the extra code for all the old stuff.
Or cut a few pixels from the top of a single image and save bandwidth that way.