diff options
author | Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com> | 2012-04-15 21:59:25 -0400 |
---|---|---|
committer | Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com> | 2012-04-15 21:59:25 -0400 |
commit | 576607de0f00797f503473299d46155b06dba016 (patch) | |
tree | 0e0dd7788f0dfb14e78e5108d93bd974c27662c8 /src/manipulation.js | |
parent | aabc0d85bb9417542cf04ca68452d751d2dcf515 (diff) | |
download | jquery-576607de0f00797f503473299d46155b06dba016.tar.gz jquery-576607de0f00797f503473299d46155b06dba016.zip |
Fixes mangled indents.
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Diffstat (limited to 'src/manipulation.js')
-rw-r--r-- | src/manipulation.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/manipulation.js b/src/manipulation.js index e7de7a621..60f4798b5 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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(); |