Created
March 24, 2011 10:06
-
-
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)
This file contains 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 (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