Sha256: 0490f85f3f8ddc8527cfdae172417b5e85027664c82117557e6d496ef336a67d

Contents?: true

Size: 1.13 KB

Versions: 139

Compression:

Stored size: 1.13 KB

Contents

/*! Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 * 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.
 *
 * Version: 3.0.2
 * 
 * Requires: 1.2.2+
 */

(function(b){function d(a){var f=[].slice.call(arguments,1),e=0;a=b.event.fix(a||window.event);a.type="mousewheel";if(a.wheelDelta)e=a.wheelDelta/120;if(a.detail)e=-a.detail/3;f.unshift(a,e);return b.event.handle.apply(this,f)}var c=["DOMMouseScroll","mousewheel"];b.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],d,false);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],
d,false);else this.onmousewheel=null}};b.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

139 entries across 123 versions & 19 rubygems

Version Path
dust-cms-0.0.07 app/assets/javascripts/core/jquery.mousewheel-3.0.2.pack.js
dust-cms-0.0.06 app/assets/javascripts/core/jquery.mousewheel-3.0.2.pack.js
dust-cms-0.0.05 app/assets/javascripts/core/jquery.mousewheel-3.0.2.pack.js
muck-engine-3.5.0 test/public/javascripts/jquery/jquery.mousewheel.js
compass-fancybox-plugin-1.3.1.1 templates/project/jquery.mousewheel-3.0.2.pack.js
muck-activities-3.2.2 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.4.0 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.18 test/public/javascripts/jquery/jquery.mousewheel.js
muck-activities-3.2.1 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.17 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.16 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.15 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.14 test/public/javascripts/jquery/jquery.mousewheel.js
muck-services-3.3.3 test/public/javascripts/jquery/jquery.mousewheel.js
muck-users-3.2.12 test/public/javascripts/jquery/jquery.mousewheel.js
muck-users-3.2.11 test/public/javascripts/jquery/jquery.mousewheel.js
muck-engine-3.3.13 test/public/javascripts/jquery/jquery.mousewheel.js
muck-commerce-3.0.1 test/public/javascripts/jquery/jquery.mousewheel.js
muck-profiles-3.1.4 test/public/javascripts/jquery/jquery.mousewheel.js
muck-auth-3.5.4 test/public/javascripts/jquery/jquery.mousewheel.js