aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/manipulation/wrapMap.js2
-rw-r--r--src/wrap.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/manipulation/wrapMap.js b/src/manipulation/wrapMap.js
index a6c07dfd5..4bde1df4f 100644
--- a/src/manipulation/wrapMap.js
+++ b/src/manipulation/wrapMap.js
@@ -15,7 +15,7 @@ var wrapMap = {
// IE8 can't serialize link, script, style, or any html5 (NoScope) tags,
// unless wrapped in a div with non-breaking characters in front of it.
- _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
+ _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
};
// Support: IE8-IE9
diff --git a/src/wrap.js b/src/wrap.js
index b377a8739..780a486cb 100644
--- a/src/wrap.js
+++ b/src/wrap.js
@@ -65,11 +65,11 @@ jQuery.fn.extend( {
},
unwrap: function() {
- return this.parent().each(function() {
+ return this.parent().each( function() {
if ( !jQuery.nodeName( this, "body" ) ) {
jQuery( this ).replaceWith( this.childNodes );
}
- }).end();
+ } ).end();
}
} );