Created
July 24, 2014 08:50
-
-
Save weiland/5d2ebb8e05d57b67aa20 to your computer and use it in GitHub Desktop.
QuerySelector and simple ForEach provided by Array
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 forEach = Array.prototype.forEach, | |
_$ = document.querySelectorAll.bind(document); | |
forEach.call(_$('.className'), function(element) { | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment