Re:You Don't Need JQuery
by malandrew on Wednesday December 17, 2014 @01:39AM
(#8761338)
Or you could use the class list polyfill.
[ Parent
| on HN ]
Re:You Don't Need JQuery
by organsnyder on Wednesday December 17, 2014 @12:19PM
(#8763118)
If that's all you need, then that would be fine. However, for most projects you end up needing many other such polyfills, to the point that you might as well use one library—jQuery—to provide them all (plus a lot of other functionality).