Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Calling those $ and $$ selector helper functions new is a bit disingenuous. They’ve been present as Chrome dev tools shortcuts for years. Let alone JQuery, I’ve also spent years seeing little articles about this neat trick on everything from medium to dev.to.

I recommend the author remove that or note inspiration from the README to avoid detracting from the rest of the work. I realize there’s more here than the traditional document.querySelector.bind(document) assignment.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: