PageSourceSearch

https://adityasharma.co/js/jquery.imagesloaded.min.js

js adityasharma.co collected 2026-10-06 12:16:52 UTC 1,625 bytes, 41 lines download raw bytes

1(function (c, n) {
2    var l = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
3    c.fn.imagesLoaded = function (f) {
4        function m() {
5            var b = c(i),
6                a = c(h);
7            d && (h.length ? d.reject(e, b, a) : d.resolve(e));
8            c.isFunction(f) && f.call(g, e, b, a)
9        }
10
11        function j(b, a) {
12            b.src === l || -1 !== c.inArray(b, k) || (k.push(b), a ? h.push(b) : i.push(b), c.data(b, "imagesLoaded", {
13                isBroken: a,
14                src: b.src
15            }), o && d.notifyWith(c(b), [a, e, c(i), c(h)]), e.length === k.length && (setTimeout(m), e.unbind(".imagesLoaded")))
16        }
17        var g = this,
18            d = c.isFunction(c.Deferred) ? c.Deferred() :
19            0,
20            o = c.isFunction(d.notify),
21            e = g.find("img").add(g.filter("img")),
22            k = [],
23            i = [],
24            h = [];
25        c.isPlainObject(f) && c.each(f, function (b, a) {
26            if ("callback" === b) f = a;
27            else if (d) d[b](a)
28        });
29        e.length ? e.bind("load.imagesLoaded error.imagesLoaded", function (b) {
30            j(b.target, "error" === b.type)
31        }).each(function (b, a) {
32            var d = a.src,
33                e = c.data(a, "imagesLoaded");
34            if (e && e.src === d) j(a, e.isBroken);
35            else if (a.complete && a.naturalWidth !== n) j(a, 0 === a.naturalWidth || 0 === a.naturalHeight);
36            else if (a.readyState || a.complete) a.src = l, a.src = d
37        }) : m();
38        return d ? d.promise(g) :
39            g
40    }
41})(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.