diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/build/base/base-min.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/build/base/base-min.js Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,8 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 3.0.0b1 +build: 1163 +*/ +YUI.add("base-base",function(A){var K=A.Lang;function D(L){this._plugins={};}D.prototype={plug:function(T,L){if(T){if(K.isFunction(T)){this._plug(T,L);}else{if(K.isArray(T)){for(var O=0,S=T.length;O=0;V--){S=T[V];Y=S._UNPLUG;if(Y){A.mix(U,Y,true);}X=S._PLUG;if(X){A.mix(L,X,true);}}for(W in L){if(L.hasOwnProperty(W)){if(!U[W]){this.plug(L[W]);}}}if(O&&O.plugins){this.plug(O.plugins);}},_destroyPlugins:function(){this._unplug();},_plug:function(S,L){if(S&&S.NS){var O=S.NS;L=L||{};L.host=this;if(this.hasPlugin(O)){this[O].setAttrs(L);}else{this[O]=new S(L);this._plugins[O]=S;}}},_unplug:function(S){var O=S,L=this._plugins;if(K.isFunction(S)){O=S.NS;if(O&&(!L[O]||L[O]!==S)){O=null;}}if(O){if(this[O]){this[O].destroy();delete this[O];}if(L[O]){delete L[O];}}}};D.plug=function(O,V,T){var W,U,L,S;if(O!==A.Base){O._PLUG=O._PLUG||{};if(!K.isArray(V)){if(T){V={fn:V,cfg:T};}V=[V];}for(U=0,L=V.length;U=0;--O){Y=X[O];for(U in Y){if(Y.hasOwnProperty(U)){T=A.mix({},Y[U],true,S);L=T.value;W=T.cloneDefaultValue;if(L){if((W===undefined&&(B===L.constructor||K.isArray(L)))||W===M||W===true){T.value=A.clone(L);}else{if(W===R){T.value=A.merge(L);}}}Z=null;if(U.indexOf(J)!==-1){Z=U.split(J);U=Z.shift();}if(Z&&V[U]&&V[U].value){I.setValue(V[U].value,Z,L);}else{if(!Z){if(!V[U]){V[U]=T;}else{A.mix(V[U],T,true,S);}}}}}}}return V;},_initHierarchy:function(V){var S=this._lazyAddAttrs,W,X,Y,T,O,U=this._getClasses(),L=this._getAttrCfgs();for(Y=U.length-1;Y>=0;Y--){W=U[Y];X=W.prototype;if(W._yuibuild&&W._yuibuild.exts&&!W._yuibuild.dynamic){for(T=0,O=W._yuibuild.exts.length;T