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
// $.quickEach() replicates the functionality of $.each() but allows 'this' | |
// to be used as a jQuery object without the need to wrap it using '$(this)'. | |
// The performance boost comes from internally recycling a single jQuery | |
// object instead of wrapping each iteration in a brand new one. | |
// Development ----------------------------------- | |
(function($) | |
{ | |
$.fn.quickEach = function(f) | |
{ |