Skip to content
Permalink
Browse files

Speed up iteration in jQuery#domManip if it called with function insi…

…de first argument
  • Loading branch information
markelog committed Dec 19, 2012
1 parent f07e675 commit bc70e0c718e3c517e4551dddffd31663b53337b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/manipulation.js
@@ -264,7 +264,7 @@ jQuery.fn.extend({
return this.each(function( index ) {
var self = set.eq( index );
if ( isFunction ) {
args[0] = value.call( this, index, table ? self.html() : undefined );
args[ 0 ] = value.call( this, index, table ? self.html() : undefined );
}
self.domManip( args, table, callback );
});

0 comments on commit bc70e0c

Please sign in to comment.
You can’t perform that action at this time.