Skip to content

Instantly share code, notes, and snippets.

@Striker21
Striker21 / gist:1352993
Created November 9, 2011 20:57 — forked from padolsey/gist:500145
quickEach
// $.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)
{