PageSourceSearch

https://rarus.ru/local/templates/rarus.web/libs/validity/validity_ext.js

js rarus.ru collected 2026-09-24 09:33:46 UTC 614 bytes, 19 lines download raw bytes

1(function ($) {
2    const extendJQueryValidity = function () {
3        // В валидатор добавляем элемент capjs для поддержки
4        if (!$.validity.settings.elementSupport.includes('cap-widget')) {
5            $.validity.settings.elementSupport += ', cap-widget'
6        }
7    }
8    const init = function () {
9        const v = $.validity
10        if (typeof v === 'object' && v !== null && !Array.isArray(v)) {
11            extendJQueryValidity()
12            return true;
13        }
14        return false;
15    }
16    if (!init()) {
17        setTimeout(init, 500);
18    }
19})(jQuery)

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.