diff options
author | 2017-05-04 07:48:42 -0400 | |
---|---|---|
committer | 2017-05-04 12:28:17 -0400 | |
commit | b54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch) | |
tree | e69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js | |
parent | 39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff) |
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects
abstraction of components
Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8
Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js b/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js deleted file mode 100644 index 0d1380f0..00000000 --- a/ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js +++ /dev/null @@ -1,50 +0,0 @@ -/*! - * jquery.event.wheel - v 1.0.0 - http://jquery-ux.com/ - * Copyright (c) 2010 Michael Helgeson, Three Dub Media - * Open Source MIT License - http://jquery-ux.com/license - */ -// Created: 2008-07-01 -// Updated: 2010-01-08 -// REQUIRES: jquery 1.3+ - -;(function( $ ){ // secure $ jQuery alias - -// jquery method -$.fn.wheel = function( fn ){ - return this[ fn ? "bind" : "trigger" ]( "wheel", fn ); -}; - -// special event config -var wheel = $.event.special.wheel = { - events: "DOMMouseScroll mousewheel" // IE, opera, safari, firefox - +( $.browser.mozilla && $.browser.version < "1.9" ? " mousemove" : "" ), // firefox 2 - setup: function(){ - $.event.add( this, wheel.events, wheel.handler, {} ); - }, - teardown: function(){ - $.event.remove( this, wheel.events, wheel.handler ); - }, - handler: function( event ){ - switch ( event.type ){ - case "mousewheel": // IE, opera, safari - event.delta = event.wheelDelta/120; - if ( window.opera ){ - event.delta *= -1; - } - break; - case "DOMMouseScroll": // firefox - $.extend( event, event.data ); // fix event properties in FF2 - event.delta = -event.detail/3; - break; - case "mousemove": // FF2 has incorrect event positions - return $.extend( event.data, { // store the correct properties - clientX: event.clientX, pageX: event.pageX, - clientY: event.clientY, pageY: event.pageY - }); - } - event.type = "wheel"; // hijack the event - return $.event.handle.call( this, event, event.delta ); - } -}; - -})( jQuery ); // confine scope
\ No newline at end of file |