3 Copyright 2012 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
7 YUI.add('base-pluginhost', function(Y) {
10 * The base-pluginhost submodule adds Plugin support to Base, by augmenting Base with
11 * Plugin.Host and setting up static (class level) Base.plug and Base.unplug methods.
14 * @submodule base-pluginhost
19 PluginHost = Y.Plugin.Host;
21 Y.mix(Base, PluginHost, false, null, 1);
24 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.plug">Plugin.Host.plug</a>. See aliased
25 * method for argument and return value details.
30 Base.plug = PluginHost.plug;
33 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.unplug">Plugin.Host.unplug</a>. See the
34 * aliased method for argument and return value details.
39 Base.unplug = PluginHost.unplug;
42 }, '3.5.1' ,{requires:['base-base', 'pluginhost']});