Skip to content

Instantly share code, notes, and snippets.

@Integralist
Created March 24, 2011 10:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Integralist/884830 to your computer and use it in GitHub Desktop.
Save Integralist/884830 to your computer and use it in GitHub Desktop.
A extremely basic selector engine for mobiles that support querySelectorAll /via @WebReflection (Andrea Giammarchi)
var $ = (function (s) {
return function $(q) {
return s.call(document.querySelectorAll(q))
}
}([].slice));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment