PageSourceSearch

https://app.bywinona.com/js/polyfills.js

js bywinona.com collected 2026-10-02 16:36:44 UTC 537 bytes, 20 lines download raw bytes

1//
2// polyfill.js
3// Theme module
4//
5
6'use strict';
7
8//
9// Closest
10//
11
12(function(ELEMENT) {
13    ELEMENT.matches = ELEMENT.matches || ELEMENT.mozMatchesSelector || ELEMENT.msMatchesSelector || ELEMENT.oMatchesSelector || ELEMENT.webkitMatchesSelector;
14    ELEMENT.closest = ELEMENT.closest || function closest(selector) {
15        if (!this) return null;
16        if (this.matches(selector)) return this;
17        if (!this.parentElement) {return null}
18        else return this.parentElement.closest(selector)
19      };
20}(Element.prototype));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.