mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fixes mangled indents.
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
This commit is contained in:
parent
aabc0d85bb
commit
576607de0f
@ -499,16 +499,17 @@ jQuery.buildFragment = function( args, context, scripts ) {
|
||||
cacheable = true;
|
||||
fragment = jQuery.fragments[ first ];
|
||||
cachehit = fragment !== undefined;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !fragment ) {
|
||||
fragment = context.createDocumentFragment();
|
||||
jQuery.clean( args, context, fragment, scripts );
|
||||
if ( cacheable ) {
|
||||
// Update the cache, but only store false
|
||||
// unless this is a second parsing of the same content
|
||||
|
||||
// Update the cache, but only store false
|
||||
// unless this is a second parsing of the same content
|
||||
if ( cacheable ) {
|
||||
jQuery.fragments[ first ] = cachehit && fragment;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return { fragment: fragment, cacheable: cacheable };
|
||||
@ -531,7 +532,6 @@ jQuery.each({
|
||||
if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) {
|
||||
insert[ original ]( this[0] );
|
||||
return this;
|
||||
|
||||
} else {
|
||||
for ( var i = 0, l = insert.length; i < l; i++ ) {
|
||||
var elems = ( i > 0 ? this.clone(true) : this ).get();
|
||||
|
Loading…
Reference in New Issue
Block a user