aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-12-22 21:42:39 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-12-22 21:42:39 +0300
commitf913a0131d9843d5f4e267af4268a678944f3e91 (patch)
treeaca5406fde742390eaa6a01b92105e1921a0aaf8
parenta5be90fb293e329500bb13ccd979161dddfcd075 (diff)
downloadjquery-f913a0131d9843d5f4e267af4268a678944f3e91.tar.gz
jquery-f913a0131d9843d5f4e267af4268a678944f3e91.zip
Build: another portion of code style fixes
-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();
}
} );