aboutsummaryrefslogtreecommitdiffstats
path: root/library/fancybox/jquery.mousewheel-3.0.4.pack.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-05 14:41:08 -0800
committerfriendica <info@friendica.com>2015-01-05 14:41:08 -0800
commit8a3ef177cefe12e80a1cf121cfbc29d15ffa4735 (patch)
treeba9ca23deb70290f4aa328739ace6920ff9e9f1d /library/fancybox/jquery.mousewheel-3.0.4.pack.js
parented19984534970b75dad4a09b948e1e134d501011 (diff)
parent3df3ab563004423477640393eb8e50cb3d2fe8d6 (diff)
downloadvolse-hubzilla-8a3ef177cefe12e80a1cf121cfbc29d15ffa4735.tar.gz
volse-hubzilla-8a3ef177cefe12e80a1cf121cfbc29d15ffa4735.tar.bz2
volse-hubzilla-8a3ef177cefe12e80a1cf121cfbc29d15ffa4735.zip
Merge branch 'master' into trinidad
Diffstat (limited to 'library/fancybox/jquery.mousewheel-3.0.4.pack.js')
-rw-r--r--library/fancybox/jquery.mousewheel-3.0.4.pack.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/library/fancybox/jquery.mousewheel-3.0.4.pack.js b/library/fancybox/jquery.mousewheel-3.0.4.pack.js
deleted file mode 100644
index cb66588e2..000000000
--- a/library/fancybox/jquery.mousewheel-3.0.4.pack.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*! Copyright (c) 2010 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.4
-*
-* Requires: 1.2.2+
-*/
-
-(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=
-f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,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); \ No newline at end of file