PageSourceSearch

https://www.ishenim.kg/W_ishenimNew/js/fancybox/jquery.mousewheel-3.0.6.pack.js

js ishenim.kg collected 2026-10-07 23:57:33 UTC 1,737 bytes, 39 lines download raw bytes

1/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
2 * Licensed under the MIT License (LICENSE.txt).
3 *
4 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
5 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
6 * Thanks to: Seamus Leahy for adding deltaX and deltaY
7 *
8 * Version: 3.0.6
9 * 
10 * Requires: 1.2.2+
11 */
12(function (d) {
13    function e(a) {
14        var b = a || window.event, c = [].slice.call(arguments, 1), f = 0, e = 0, g = 0, a = d.event.fix(b);
15        a.type = "mousewheel";
16        b.wheelDelta && (f = b.wheelDelta / 120);
17        b.detail && (f = -b.detail / 3);
18        g = f;
19        b.axis !== void 0 && b.axis === b.HORIZONTAL_AXIS && (g = 0, e = -1 * f);
20        b.wheelDeltaY !== void 0 && (g = b.wheelDeltaY / 120);
21        b.wheelDeltaX !== void 0 && (e = -1 * b.wheelDeltaX / 120);
22        c.unshift(a, f, e, g);
23        return(d.event.dispatch || d.event.handle).apply(this, c)
24    }
25
26    var c = ["DOMMouseScroll", "mousewheel"];
27    if (d.event.fixHooks)for (var h = c.length; h;)d.event.fixHooks[c[--h]] =
28        d.event.mouseHooks;
29    d.event.special.mousewheel = {setup: function () {
30        if (this.addEventListener)for (var a = c.length; a;)this.addEventListener(c[--a], e, false); else this.onmousewheel = e
31    }, teardown: function () {
32        if (this.removeEventListener)for (var a = c.length; a;)this.removeEventListener(c[--a], e, false); else this.onmousewheel = null
33    }};
34    d.fn.extend({mousewheel: function (a) {
35        return a ? this.bind("mousewheel", a) : this.trigger("mousewheel")
36    }, unmousewheel: function (a) {
37        return this.unbind("mousewheel", a)
38    }})
39})(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.