Fixes mangled indents.

Signed-off-by: 's avatarRick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
parent aabc0d85
...@@ -504,9 +504,10 @@ jQuery.buildFragment = function( args, context, scripts ) { ...@@ -504,9 +504,10 @@ jQuery.buildFragment = function( args, context, scripts ) {
if ( !fragment ) { if ( !fragment ) {
fragment = context.createDocumentFragment(); fragment = context.createDocumentFragment();
jQuery.clean( args, context, fragment, scripts ); jQuery.clean( args, context, fragment, scripts );
if ( cacheable ) {
// Update the cache, but only store false // Update the cache, but only store false
// unless this is a second parsing of the same content // unless this is a second parsing of the same content
if ( cacheable ) {
jQuery.fragments[ first ] = cachehit && fragment; jQuery.fragments[ first ] = cachehit && fragment;
} }
} }
...@@ -531,7 +532,6 @@ jQuery.each({ ...@@ -531,7 +532,6 @@ jQuery.each({
if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) { if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) {
insert[ original ]( this[0] ); insert[ original ]( this[0] );
return this; return this;
} else { } else {
for ( var i = 0, l = insert.length; i < l; i++ ) { for ( var i = 0, l = insert.length; i < l; i++ ) {
var elems = ( i > 0 ? this.clone(true) : this ).get(); var elems = ( i > 0 ? this.clone(true) : this ).get();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment