Sha256: 687be205607d7985c36d90cacc8d60ef919a61bfc72c630cda50e90467b75879

Contents?: true

Size: 1.35 KB

Versions: 22

Compression:

Stored size: 1.35 KB

Contents

/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
 * Licensed under the MIT License (LICENSE.txt).
 *
 * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
 * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
 * Thanks to: Seamus Leahy for adding deltaX and deltaY
 *
 * Version: 3.0.6
 * 
 * Requires: 1.2.2+
 */
(function(d){function e(a){var b=a||window.event,c=[].slice.call(arguments,1),f=0,e=0,g=0,a=d.event.fix(b);a.type="mousewheel";b.wheelDelta&&(f=b.wheelDelta/120);b.detail&&(f=-b.detail/3);g=f;b.axis!==void 0&&b.axis===b.HORIZONTAL_AXIS&&(g=0,e=-1*f);b.wheelDeltaY!==void 0&&(g=b.wheelDeltaY/120);b.wheelDeltaX!==void 0&&(e=-1*b.wheelDeltaX/120);c.unshift(a,f,e,g);return(d.event.dispatch||d.event.handle).apply(this,c)}var c=["DOMMouseScroll","mousewheel"];if(d.event.fixHooks)for(var h=c.length;h;)d.event.fixHooks[c[--h]]=
d.event.mouseHooks;d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],e,false);else this.onmousewheel=e},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],e,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);

Version data entries

22 entries across 22 versions & 7 rubygems

Version Path
refinerycms-photo-gallery-0.3.0 app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-photo-gallery-0.2.0 app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
ralber-0.0.3 templates/fancybox-dark/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
ralber-0.0.2 templates/fancybox-dark/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
ralber-0.0.1 templates/fancybox-dark/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
mdd-3.1.4 lib/generators/mdwa/sandbox/templates/app/assets/javascripts/jquery/jquery.mousewheel.js
mdd-3.1.2 lib/generators/mdwa/sandbox/templates/app/assets/javascripts/jquery/jquery.mousewheel.js
mdd-3.1.1 lib/generators/mdwa/sandbox/templates/app/assets/javascripts/jquery/jquery.mousewheel.js
refinerycms-photo-gallery-0.1.2 app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
rbbt-views-2.0.2 share/views/public/plugins/fancybox/js/jquery.mousewheel-3.0.6.pack.js
rbbt-views-2.0.1 share/views/public/plugins/fancybox/js/jquery.mousewheel-3.0.6.pack.js
best-0.0.2 template/components/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
rbbt-views-2.0.0 share/views/public/plugins/fancybox/js/jquery.mousewheel-3.0.6.pack.js
refinerycms-photo-gallery-0.1.1 app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-photo-gallery-0.1.0 app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-6hoursdaily-photo-gallery-0.0.5.dev app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-6hoursdaily-photo-gallery-0.0.4.dev app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-photo-gallery-0.0.2.dev app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
refinerycms-photo-gallery-0.0.1.dev app/assets/javascripts/refinery/photo_gallery/fancybox/lib/jquery.mousewheel-3.0.6.pack.js
dadablog-0.0.4 lib/dadablog/generators/create/public/js/fancyBox/lib/jquery.mousewheel-3.0.6.pack.js