Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dpweb
on Dec 17, 2014
|
parent
|
context
|
favorite
| on:
You Don't Need JQuery
This and you're good for selectors, but there's no right or wrong answer - use what works for you and the project.
$ = document.querySelector.bind(document); $$ = document.querySelectorAll.bind(document);
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
$ = document.querySelector.bind(document); $$ = document.querySelectorAll.bind(document);