Skip to content

Commit

Permalink
Merge pull request #2140 from IgniteUI/sstoychev/fix-jscs-cs-211
Browse files Browse the repository at this point in the history
fixing jscs errors for closed source
  • Loading branch information
ChronosSF authored Aug 18, 2021
2 parents f010b21 + ccaf076 commit 080287d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/modules/infragistics.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1533,23 +1533,23 @@

// polyfill for IE11+. ChildNode.remove() is not supported by IE11+.
if (!Element.hasOwnProperty("remove")) {
Object.defineProperty(Element, 'remove', {
Object.defineProperty(Element, "remove", {
configurable: true,
enumerable: true,
writable: true,
value: function remove() {
this.parentNode.removeChild(this);
this.parentNode.removeChild(this);
}
});
}

if (Text && !Text.hasOwnProperty("remove")) {
Object.defineProperty(Text, 'remove', {
Object.defineProperty(Text, "remove", {
configurable: true,
enumerable: true,
writable: true,
value: function remove() {
this.parentNode.removeChild(this);
this.parentNode.removeChild(this);
}
});
}
Expand Down

0 comments on commit 080287d

Please sign in to comment.