diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-18 01:00:38 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-06-18 01:00:38 -0700 |
commit | 7ae63b1e06f607ede3ed32829ac9316e4c657247 (patch) | |
tree | 2d347681207e337dad6ad21ec15a319b6a734a62 /js/yui/event-mouseenter | |
parent | Add Dusk/search_form.css to .bzrignore. (diff) | |
download | bugzilla-7ae63b1e06f607ede3ed32829ac9316e4c657247.tar.gz bugzilla-7ae63b1e06f607ede3ed32829ac9316e4c657247.tar.bz2 bugzilla-7ae63b1e06f607ede3ed32829ac9316e4c657247.zip |
Bug 572949: Update YUI to 2.8.1
r=glob, a=mkanat
Diffstat (limited to 'js/yui/event-mouseenter')
-rw-r--r-- | js/yui/event-mouseenter/event-mouseenter-min.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/yui/event-mouseenter/event-mouseenter-min.js b/js/yui/event-mouseenter/event-mouseenter-min.js new file mode 100644 index 000000000..6943074a8 --- /dev/null +++ b/js/yui/event-mouseenter/event-mouseenter-min.js @@ -0,0 +1,7 @@ +/* +Copyright (c) 2010, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.com/yui/license.html +version: 2.8.1 +*/ +(function(){var B=YAHOO.util.Event,G=YAHOO.lang,E=B.addListener,F=B.removeListener,C=B.getListeners,D=[],H={mouseenter:"mouseover",mouseleave:"mouseout"},A=function(N,M,L){var J=B._getCacheIndex(D,N,M,L),I,K;if(J>=0){I=D[J];}if(N&&I){K=F.call(B,I[0],M,I[3]);if(K){delete D[J][2];delete D[J][3];D.splice(J,1);}}return K;};G.augmentObject(B._specialTypes,H);G.augmentObject(B,{_createMouseDelegate:function(I,J,K){return function(Q,M){var P=this,L=B.getRelatedTarget(Q),O,N;if(P!=L&&!YAHOO.util.Dom.isAncestor(P,L)){O=P;if(K){if(K===true){O=J;}else{O=K;}}N=[Q,P,J];if(M){N.splice(2,0,M);}return I.apply(O,N);}};},addListener:function(M,L,K,N,O){var I,J;if(H[L]){I=B._createMouseDelegate(K,N,O);I.mouseDelegate=true;D.push([M,L,K,I]);J=E.call(B,M,L,I);}else{J=E.apply(B,arguments);}return J;},removeListener:function(L,K,J){var I;if(H[K]){I=A.apply(B,arguments);}else{I=F.apply(B,arguments);}return I;},getListeners:function(N,M){var L=[],P,K=(M==="mouseover"||M==="mouseout"),O,J,I;if(M&&(K||H[M])){P=C.call(B,N,this._getType(M));if(P){for(J=P.length-1;J>-1;J--){I=P[J];O=I.fn.mouseDelegate;if((H[M]&&O)||(K&&!O)){L.push(I);}}}}else{L=C.apply(B,arguments);}return(L&&L.length)?L:null;}},true);B.on=B.addListener;}());YAHOO.register("event-mouseenter",YAHOO.util.Event,{version:"2.8.1",build:"19"});
\ No newline at end of file |