src/cm/media/js/lib/yui/yui3-3.15.0/build/base-pluginhost/base-pluginhost-debug.js
equal
deleted
inserted
replaced
|
1 YUI.add('base-pluginhost', function (Y, NAME) { |
|
2 |
|
3 /** |
|
4 * The base-pluginhost submodule adds Plugin support to Base, by augmenting Base with |
|
5 * Plugin.Host and setting up static (class level) Base.plug and Base.unplug methods. |
|
6 * |
|
7 * @module base |
|
8 * @submodule base-pluginhost |
|
9 * @for Base |
|
10 */ |
|
11 |
|
12 var Base = Y.Base, |
|
13 PluginHost = Y.Plugin.Host; |
|
14 |
|
15 Y.mix(Base, PluginHost, false, null, 1); |
|
16 |
|
17 /** |
|
18 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.plug">Plugin.Host.plug</a>. See aliased |
|
19 * method for argument and return value details. |
|
20 * |
|
21 * @method plug |
|
22 * @static |
|
23 */ |
|
24 Base.plug = PluginHost.plug; |
|
25 |
|
26 /** |
|
27 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.unplug">Plugin.Host.unplug</a>. See the |
|
28 * aliased method for argument and return value details. |
|
29 * |
|
30 * @method unplug |
|
31 * @static |
|
32 */ |
|
33 Base.unplug = PluginHost.unplug; |
|
34 |
|
35 |
|
36 }, '@VERSION@', {"requires": ["base-base", "pluginhost"]}); |