From f913a0131d9843d5f4e267af4268a678944f3e91 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Tue, 22 Dec 2015 21:42:39 +0300 Subject: [PATCH] Build: another portion of code style fixes --- src/manipulation/wrapMap.js | 2 +- src/wrap.js | 4 ++-- 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
", "
" ] + _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
", "
" ] }; // 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(); } } ); -- 2.39.5