diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui3.0.0/build/base/base-pluginhost-debug.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3.0.0/build/base/base-pluginhost-debug.js Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,43 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 3.0.0 +build: 1549 +*/ +YUI.add('base-pluginhost', function(Y) { + + /** + * The base-pluginhost submodule adds Plugin support to Base, by augmenting Base with + * Plugin.Host and setting up static (class level) Base.plug and Base.unplug methods. + * + * @module base + * @submodule base-pluginhost + * @for Base + */ + + var Base = Y.Base, + PluginHost = Y.Plugin.Host; + + Y.mix(Base, PluginHost, false, null, 1); + + /** + * Alias for Plugin.Host.plug. See aliased + * method for argument and return value details. + * + * @method Base.plug + * @static + */ + Base.plug = PluginHost.plug; + + /** + * Alias for Plugin.Host.unplug. See the + * aliased method for argument and return value details. + * + * @method Base.unplug + * @static + */ + Base.unplug = PluginHost.unplug; + + +}, '3.0.0' ,{requires:['base-base', 'pluginhost']});