aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorRick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>2012-04-15 22:54:18 -0400
committerRick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>2012-04-15 22:54:18 -0400
commit6e0b3e8e73d1c3fe6ec52f492f95dd396ddf2d10 (patch)
tree55877c93972333eb22afda0d080ba18339cf8497 /src/manipulation.js
parent576607de0f00797f503473299d46155b06dba016 (diff)
downloadjquery-6e0b3e8e73d1c3fe6ec52f492f95dd396ddf2d10.tar.gz
jquery-6e0b3e8e73d1c3fe6ec52f492f95dd396ddf2d10.zip
More indent correction
Signed-off-by: Rick Waldron waldron.rick@gmail.com <waldron.rick@gmail.com>
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 60f4798b5..da4f475b5 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -314,8 +314,8 @@ jQuery.fn.extend({
if ( this[0] ) {
results = jQuery.buildFragment( args, this, scripts );
fragment = results.fragment;
+ first = fragment.firstChild;
- first = fragment.firstChild;
if ( fragment.childNodes.length === 1 ) {
fragment = first;
}
@@ -630,7 +630,7 @@ jQuery.extend({
clean: function( elems, context, fragment, scripts ) {
var j, safe, elem, tag, wrap, depth, div, hasBody, tbody, len, handleScript, jsTags,
i = 0,
- ret = [];
+ ret = [];
// Ensure that context is a document
if ( !context || typeof context.createDocumentFragment === "undefined" ) {
@@ -699,33 +699,33 @@ jQuery.extend({
// Remember the top-level container for proper cleanup
div = safe.lastChild;
- }
- }
+ }
+ }
if ( elem.nodeType ) {
ret.push( elem );
} else {
ret = jQuery.merge( ret, elem );
- }
- }
+ }
+ }
// Fix #11356: Clear elements from safeFragment
if ( div ) {
safe.removeChild( div );
div = safe = null;
- }
+ }
// Reset defaultChecked for any radios and checkboxes
- // about to be appended to the DOM in IE 6/7 (#8060)
- if ( !jQuery.support.appendChecked ) {
+ // about to be appended to the DOM in IE 6/7 (#8060)
+ if ( !jQuery.support.appendChecked ) {
for ( i = 0; (elem = ret[i]) != null; i++ ) {
if ( jQuery.nodeName( elem, "input" ) ) {
fixDefaultChecked( elem );
} else if ( typeof elem.getElementsByTagName !== "undefined" ) {
jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked );
- }
}
}
+ }
// Append elements to a provided document fragment
if ( fragment ) {