From a776a09eff7ddcced9f2b0458cdc588302948c97 Mon Sep 17 00:00:00 2001 From: Ca-Phun Ung Date: Mon, 11 May 2009 13:41:11 +0000 Subject: [PATCH] spinner: removed mousewheel plugin from trunk/external (revert) --- external/mousewheel/ChangeLog.markdown | 49 ----- external/mousewheel/README.markdown | 11 - external/mousewheel/jquery.mousewheel.js | 60 ------ external/mousewheel/jquery.mousewheel.min.js | 11 - external/mousewheel/test/index.html | 204 ------------------- 5 files changed, 335 deletions(-) delete mode 100755 external/mousewheel/ChangeLog.markdown delete mode 100755 external/mousewheel/README.markdown delete mode 100755 external/mousewheel/jquery.mousewheel.js delete mode 100644 external/mousewheel/jquery.mousewheel.min.js delete mode 100755 external/mousewheel/test/index.html diff --git a/external/mousewheel/ChangeLog.markdown b/external/mousewheel/ChangeLog.markdown deleted file mode 100755 index 8dd106beb..000000000 --- a/external/mousewheel/ChangeLog.markdown +++ /dev/null @@ -1,49 +0,0 @@ -# Mouse Wheel ChangeLog - - -# 3.0.2 - -* Fixed delta being opposite value in latest Opera -* No longer fix pageX, pageY for older mozilla browsers -* Removed browser detection -* Cleaned up the code - - -# 3.0.1 - -* Bad release... creating a new release due to plugins.jquery.com issue :( - - -# 3.0 - -* Uses new special events API in jQuery 1.2.2+ -* You can now treat "mousewheel" as a normal event and use .bind, .unbind and .trigger -* Using jQuery.data API for expandos - - -# 2.2 - -* Fixed pageX, pageY, clientX and clientY event properties for Mozilla based browsers - - -# 2.1.1 - -* Updated to work with jQuery 1.1.3 -* Used one instead of bind to do unload event for clean up. - - -# 2.1 - -* Fixed an issue with the unload handler - - -# 2.0 - -* Major reduction in code size and complexity (internals have change a whole lot) - - -# 1.0 - -* Fixed Opera issue -* Fixed an issue with children elements that also have a mousewheel handler -* Added ability to handle multiple handlers \ No newline at end of file diff --git a/external/mousewheel/README.markdown b/external/mousewheel/README.markdown deleted file mode 100755 index 7ec6d039b..000000000 --- a/external/mousewheel/README.markdown +++ /dev/null @@ -1,11 +0,0 @@ -# jQuery Mouse Wheel Plugin - -A jQuery plugin that adds cross-browser mouse wheel support. - -The latest stable release can be downloaded from the [project page](http://plugins.jquery.com/project/mousewheel) - -## License - -The mousewheel plugin is dual licensed *(just like jQuery)* under the [MIT](http://www.opensource.org/licenses/mit-license.php) and [GPL](http://www.opensource.org/licenses/gpl-license.php) licenses. - -Copyright (c) 2009 [Brandon Aaron](http://brandonaaron.net) \ No newline at end of file diff --git a/external/mousewheel/jquery.mousewheel.js b/external/mousewheel/jquery.mousewheel.js deleted file mode 100755 index b6b89ba60..000000000 --- a/external/mousewheel/jquery.mousewheel.js +++ /dev/null @@ -1,60 +0,0 @@ -/*! 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($) { - -var types = ['DOMMouseScroll', 'mousewheel']; - -$.event.special.mousewheel = { - setup: function() { - if ( this.addEventListener ) - for ( var i=types.length; i; ) - this.addEventListener( types[--i], handler, false ); - else - this.onmousewheel = handler; - }, - - teardown: function() { - if ( this.removeEventListener ) - for ( var i=types.length; i; ) - this.removeEventListener( types[--i], handler, false ); - else - this.onmousewheel = null; - } -}; - -$.fn.extend({ - mousewheel: function(fn) { - return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel"); - }, - - unmousewheel: function(fn) { - return this.unbind("mousewheel", fn); - } -}); - - -function handler(event) { - var args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true; - - event = $.event.fix(event || window.event); - event.type = "mousewheel"; - - if ( event.wheelDelta ) delta = event.wheelDelta/120; - if ( event.detail ) delta = -event.detail/3; - - // Add events and delta to the front of the arguments - args.unshift(event, delta); - - return $.event.handle.apply(this, args); -} - -})(jQuery); \ No newline at end of file diff --git a/external/mousewheel/jquery.mousewheel.min.js b/external/mousewheel/jquery.mousewheel.min.js deleted file mode 100644 index 05ebb0a99..000000000 --- a/external/mousewheel/jquery.mousewheel.min.js +++ /dev/null @@ -1,11 +0,0 @@ -/* 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(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={setup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventListener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.removeEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,false)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){return this.unbind("mousewheel",d)}});function b(f){var d=[].slice.call(arguments,1),g=0,e=true;f=c.event.fix(f||window.event);f.type="mousewheel";if(f.wheelDelta){g=f.wheelDelta/120}if(f.detail){g=-f.detail/3}d.unshift(f,g);return c.event.handle.apply(this,d)}})(jQuery); \ No newline at end of file diff --git a/external/mousewheel/test/index.html b/external/mousewheel/test/index.html deleted file mode 100755 index ce716a40e..000000000 --- a/external/mousewheel/test/index.html +++ /dev/null @@ -1,204 +0,0 @@ - - - - Testing mousewheel plugin - - - - - - - -

jQuery mousewheel.js - Test

-

- - - - -

Test1

-

Test2

-

Test3

-

Test4

-
-

Test5

-
-

Test6

-

Test7

-
-
- -
- -
- - -- 2.39.5