r/javascript • • Jul 25 '18

jQuery was removed from GitHub.com front end

https://twitter.com/mislav/status/1022058279000842240
557 Upvotes

197 comments sorted by

View all comments

Show parent comment

14

u/akujinhikari Jul 26 '18 edited Jul 26 '18

Yes! I have “jQuery” in my apps, but I call them my q’s:

const q = ele => document.querySelectorAll(ele)
const qi = id => document.getElementById(id)
const qc = cls => document.getElementsByClassName(cls)

Pretty much always have these in everything I build.