From: jeresig Date: Fri, 5 Mar 2010 14:59:58 +0000 (-0500) Subject: No need to use .call() anymore since we switched from .apply() for appendTo, etc... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=0a307b332e896b6b480952abb5d3bf03819893c8 No need to use .call() anymore since we switched from .apply() for appendTo, etc. Thanks to Robert in 2c08004f6d4e7f11a875190e132d204a25cb9418 for the heads-up. --- diff --git a/src/manipulation.js b/src/manipulation.js index 13f5ec6..270c7bc 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -442,7 +442,7 @@ jQuery.each({ } else { for ( var i = 0, l = insert.length; i < l; i++ ) { var elems = (i > 0 ? this.clone(true) : this).get(); - jQuery.fn[ original ].call( jQuery(insert[i]), elems ); + jQuery( insert[i] )[ original ]( elems ); ret = ret.concat( elems ); }