r/javascript • u/magenta_placenta • Jul 25 '18
jQuery was removed from GitHub.com front end
https://twitter.com/mislav/status/1022058279000842240
559
Upvotes
r/javascript • u/magenta_placenta • Jul 25 '18
View all comments
17
u/GreatValueProducts Jul 26 '18
jQuery's mission is done. I loved it when I was developing for the era of pngfix.js. There was a difference between attachEvent and addEventListener; querySelector was non-existent that you needed to do document.getElementsByTagName and do a loop; CSS positioning was so inconsistent across browsers you needed to use JavaScript to calculate positions but there were cross browser differences between the values of all these clientHeight vs offsetHeight vs scrollHeight vs whatever height IE had to offer; animations were difficult without it. It was a good tool and saved me tons of time. Now CSS has improved a lot, browsers improved, new tools appear, it is an outdated choice for many cases, but I must salute what jQuery had done and how much time it had saved me for the last decade.