Files
IWD2-02/INFO-3163 (CMS Web Dev)/Project/project/wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js
T
2026-04-15 15:59:53 -04:00

1 line
348 B
JavaScript

(()=>{function e(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1}if("HTMLElement"in self&&"contains"in HTMLElement.prototype)try{delete HTMLElement.prototype.contains}catch(e){}"Node"in self?Node.prototype.contains=e:document.contains=Element.prototype.contains=e})();