Server : LiteSpeed
System : Linux server900.shared.spaceship.host 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User : kvzyqrttyz ( 5084)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/kvzyqrttyz/monolog87.com/wp-includes/js/dist/vendor/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Not Writable ]


OR Upload from URL:
URL: Save as:

📄 File: wp-polyfill-node-contains.js

Path: /home/kvzyqrttyz/monolog87.com/wp-includes/js/dist/vendor/wp-polyfill-node-contains.js

Size: 643 B

Permissions: 0644

// Node.prototype.contains
(function() {

	function contains(node) {
		if (!(0 in arguments)) {
			throw new TypeError('1 argument is required');
		}

		do {
			if (this === node) {
				return true;
			}
		// eslint-disable-next-line no-cond-assign
		} while (node = node && node.parentNode);

		return false;
	}

	// IE
	if ('HTMLElement' in self && 'contains' in HTMLElement.prototype) {
		try {
			delete HTMLElement.prototype.contains;
		// eslint-disable-next-line no-empty
		} catch (e) {}
	}

	if ('Node' in self) {
		Node.prototype.contains = contains;
	} else {
		document.contains = Element.prototype.contains = contains;
	}

}());

← Back to Directory Edit File 🔒 Chmod

WP File Manager