summaryrefslogtreecommitdiffstats
path: root/js/yui/element-delegate
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-11-01 01:11:56 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-11-01 01:11:56 +0100
commit9392b166d17823427f8149c047e5840c3491abf8 (patch)
tree581d1c23c0d1895a66fb0579a9db6b74793fc02c /js/yui/element-delegate
parent8846684813d3c3c4abb19b2bbc32e498b64a19de (diff)
downloadbugzilla-9392b166d17823427f8149c047e5840c3491abf8.tar.gz
bugzilla-9392b166d17823427f8149c047e5840c3491abf8.tar.xz
Bug 606618: Update YUI to 2.8.2
r=LpSolit, a=mkanat
Diffstat (limited to 'js/yui/element-delegate')
-rw-r--r--js/yui/element-delegate/element-delegate-min.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/yui/element-delegate/element-delegate-min.js b/js/yui/element-delegate/element-delegate-min.js
index 1817a0aef..2bacdee54 100644
--- a/js/yui/element-delegate/element-delegate-min.js
+++ b/js/yui/element-delegate/element-delegate-min.js
@@ -2,6 +2,6 @@
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
+version: 2.8.2r1
*/
-(function(){var A=YAHOO.util.Event,B=[],C={mouseenter:true,mouseleave:true};YAHOO.lang.augmentObject(YAHOO.util.Element.prototype,{delegate:function(J,L,F,H,I){if(YAHOO.lang.isString(F)&&!YAHOO.util.Selector){return false;}if(!A._createDelegate){return false;}var E=A._getType(J),G=this.get("element"),M,K,D=function(N){return M.call(G,N);};if(C[J]){if(!A._createMouseDelegate){return false;}K=A._createMouseDelegate(L,H,I);M=A._createDelegate(function(P,O,N){return K.call(O,P,N);},F,H,I);}else{M=A._createDelegate(L,F,H,I);}B.push([G,E,L,D]);return this.on(E,D);},removeDelegate:function(H,G){var I=A._getType(H),E=A._getCacheIndex(B,this.get("element"),I,G),F,D;if(E>=0){D=B[E];}if(D){F=this.removeListener(D[1],D[3]);if(F){delete B[E][2];delete B[E][3];B.splice(E,1);}}return F;}});}());YAHOO.register("element-delegate",YAHOO.util.Element,{version:"2.8.1",build:"19"}); \ No newline at end of file
+(function(){var A=YAHOO.util.Event,B=[],C={mouseenter:true,mouseleave:true};YAHOO.lang.augmentObject(YAHOO.util.Element.prototype,{delegate:function(J,L,F,H,I){if(YAHOO.lang.isString(F)&&!YAHOO.util.Selector){return false;}if(!A._createDelegate){return false;}var E=A._getType(J),G=this.get("element"),M,K,D=function(N){return M.call(G,N);};if(C[J]){if(!A._createMouseDelegate){return false;}K=A._createMouseDelegate(L,H,I);M=A._createDelegate(function(P,O,N){return K.call(O,P,N);},F,H,I);}else{M=A._createDelegate(L,F,H,I);}B.push([G,E,L,D]);return this.on(E,D);},removeDelegate:function(H,G){var I=A._getType(H),E=A._getCacheIndex(B,this.get("element"),I,G),F,D;if(E>=0){D=B[E];}if(D){F=this.removeListener(D[1],D[3]);if(F){delete B[E][2];delete B[E][3];B.splice(E,1);}}return F;}});}());YAHOO.register("element-delegate",YAHOO.util.Element,{version:"2.8.2r1",build:"7"}); \ No newline at end of file