Permalink
Browse files

Build: another portion of code style fixes

  • Loading branch information...
markelog committed Dec 22, 2015
1 parent a5be90f commit f913a0131d9843d5f4e267af4268a678944f3e91
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/manipulation/wrapMap.js
  2. +2 −2 src/wrap.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
View
@@ -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();
}
} );

0 comments on commit f913a01

Please sign in to comment.