News for hackers. Stuff that matters.
Re:Removing jQuery from GitHub.com frontend by awy on Thursday July 26, 2018 @06:22AM (#17616327)
querySelector() will get you one element, otherwise you can use something like

Array.from(querySelectorAll('*')).forEach()

It is a little more cumbersome.

Re:Removing jQuery from GitHub.com frontend by ngrilly on Thursday July 26, 2018 @10:15AM (#17617686)
Yes, this is what I do, and I agree it's a little more cumbersome. That's why I asked ;-)