diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/build/base-pluginhost/base-pluginhost.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/build/base-pluginhost/base-pluginhost.js Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,43 @@ +/* +YUI 3.10.3 (build 2fb5187) +Copyright 2013 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ + +YUI.add('base-pluginhost', function (Y, NAME) { + + /** + * 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 plug + * @static + */ + Base.plug = PluginHost.plug; + + /** + * Alias for Plugin.Host.unplug. See the + * aliased method for argument and return value details. + * + * @method unplug + * @static + */ + Base.unplug = PluginHost.unplug; + + +}, '3.10.3', {"requires": ["base-base", "pluginhost"]});