Created
October 24, 2015 02:18
-
-
Save dolftax/0c370c9a934934bc1e6d to your computer and use it in GitHub Desktop.
jQuery isn't a solution for everything
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var $ = function (el) { | |
| return document.querySelector(el); | |
| }; | |
| var $$ = function (el) { | |
| return document.querySelectorAll(el); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment