src/cm/media/js/lib/yui/yui_3.10.3/build/base-pluginhost/base-pluginhost-debug.js
equal
deleted
inserted
replaced
|
1 /* |
|
2 YUI 3.10.3 (build 2fb5187) |
|
3 Copyright 2013 Yahoo! Inc. All rights reserved. |
|
4 Licensed under the BSD License. |
|
5 http://yuilibrary.com/license/ |
|
6 */ |
|
7 |
|
8 YUI.add('base-pluginhost', function (Y, NAME) { |
|
9 |
|
10 /** |
|
11 * The base-pluginhost submodule adds Plugin support to Base, by augmenting Base with |
|
12 * Plugin.Host and setting up static (class level) Base.plug and Base.unplug methods. |
|
13 * |
|
14 * @module base |
|
15 * @submodule base-pluginhost |
|
16 * @for Base |
|
17 */ |
|
18 |
|
19 var Base = Y.Base, |
|
20 PluginHost = Y.Plugin.Host; |
|
21 |
|
22 Y.mix(Base, PluginHost, false, null, 1); |
|
23 |
|
24 /** |
|
25 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.plug">Plugin.Host.plug</a>. See aliased |
|
26 * method for argument and return value details. |
|
27 * |
|
28 * @method plug |
|
29 * @static |
|
30 */ |
|
31 Base.plug = PluginHost.plug; |
|
32 |
|
33 /** |
|
34 * Alias for <a href="Plugin.Host.html#method_Plugin.Host.unplug">Plugin.Host.unplug</a>. See the |
|
35 * aliased method for argument and return value details. |
|
36 * |
|
37 * @method unplug |
|
38 * @static |
|
39 */ |
|
40 Base.unplug = PluginHost.unplug; |
|
41 |
|
42 |
|
43 }, '3.10.3', {"requires": ["base-base", "pluginhost"]}); |