-
-
Save cowboy/503362 to your computer and use it in GitHub Desktop.
Like .quickEach, but subtly different
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
// Plugin released: | |
// http://benalman.com/projects/jquery-misc-plugins/#each2 |
Ok, pluginized and released!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, major correction.. this is going to be WAY slower than the core
.each
in scenarios where the user doesn't need a jQuery object inside the callback... so it should definitely be a separate method. See http://jsperf.com/jquery-each-vs-quickeach/2