| author | Yves-Marie Haussonne <ymh.work+github@gmail.com> |
| Fri, 09 May 2014 18:35:26 +0200 | |
| changeset 656 | a84519031134 |
| parent 0 | 40c8f766c9b8 |
| permissions | -rw-r--r-- |
| 0 | 1 |
/* |
2 |
Copyright (c) 2009, Yahoo! Inc. All rights reserved. |
|
3 |
Code licensed under the BSD License: |
|
4 |
http://developer.yahoo.net/yui/license.txt |
|
5 |
version: 3.0.0 |
|
6 |
build: 1549 |
|
7 |
*/ |
|
8 |
YUI.add("event-mousewheel",function(C){var B="DOMMouseScroll",A=function(E){var D=C.Array(E,0,true),F;if(C.UA.gecko){D[0]=B;F=C.config.win;}else{F=C.config.doc;}if(D.length<3){D[2]=F;}else{D.splice(2,0,F);}return D;};C.Env.evt.plugins.mousewheel={on:function(){return C.Event._attach(A(arguments));},detach:function(){return C.Event.detach.apply(C.Event,A(arguments));}};},"3.0.0",{requires:["node-base"]}); |