Skip to content

Instantly share code, notes, and snippets.

@dviramontes
Created September 6, 2013 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dviramontes/6466836 to your computer and use it in GitHub Desktop.
Save dviramontes/6466836 to your computer and use it in GitHub Desktop.
// for smallest jquery include ever...
function $(expr, cond){ return (con || document).querySelector(expr); }
@dviramontes
Copy link
Author

upps
function $(expr, cond){ return (cond || document).querySelector(expr); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment