From b54df0ddd0c6a0372327c5aa3668e5a6458fcd64 Mon Sep 17 00:00:00 2001 From: st782s Date: Thu, 4 May 2017 07:48:42 -0400 Subject: [PORTAL-7] Rebase This rebasing includes common libraries and common overlays projects abstraction of components Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8 Signed-off-by: st782s --- .../event.wheel/jquery.event.wheel.js | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel/jquery.event.wheel.js (limited to 'ecomp-portal-FE/client/bower_components/jquery.event.drag-new/event.wheel') 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 -- cgit 1.2.3-korg