ok
Direktori : /proc/self/root/home2/selectio/www/bharath/backend/usertemplate/assets/js/ |
Current File : //proc/self/root/home2/selectio/www/bharath/backend/usertemplate/assets/js/jquery.mousewheel.min.js |
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function h(b){var c=b||window.event,g=d.call(arguments,1),h=0,j=0,k=0,l=0;return b=a.event.fix(c),b.type="mousewheel","detail"in c&&(k=-1*c.detail),"wheelDelta"in c&&(k=c.wheelDelta),"wheelDeltaY"in c&&(k=c.wheelDeltaY),"wheelDeltaX"in c&&(j=-1*c.wheelDeltaX),"axis"in c&&c.axis===c.HORIZONTAL_AXIS&&(j=-1*k,k=0),h=0===k?j:k,"deltaY"in c&&(k=-1*c.deltaY,h=k),"deltaX"in c&&(j=c.deltaX,0===k&&(h=-1*j)),0!==k||0!==j?(l=Math.max(Math.abs(k),Math.abs(j)),(!f||f>l)&&(f=l),h=Math[h>=1?"floor":"ceil"](h/f),j=Math[j>=1?"floor":"ceil"](j/f),k=Math[k>=1?"floor":"ceil"](k/f),b.deltaX=j,b.deltaY=k,b.deltaFactor=f,g.unshift(b,h,j,k),e&&clearTimeout(e),e=setTimeout(i,200),(a.event.dispatch||a.event.handle).apply(this,g)):void 0}function i(){f=null}var e,f,b=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],c="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],d=Array.prototype.slice;if(a.event.fixHooks)for(var g=b.length;g;)a.event.fixHooks[b[--g]]=a.event.mouseHooks;a.event.special.mousewheel={version:"3.1.6",setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],h,!1);else this.onmousewheel=h},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],h,!1);else this.onmousewheel=null}},a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});