src/cm/media/js/lib/yui/yui3.0.0/build/base/base-pluginhost-debug.js
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 /*
       
     2 Copyright (c) 2009, Yahoo! Inc. All rights reserved.
       
     3 Code licensed under the BSD License:
       
     4 http://developer.yahoo.net/yui/license.txt
       
     5 version: 3.0.0
       
     6 build: 1549
       
     7 */
       
     8 YUI.add('base-pluginhost', function(Y) {
       
     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 Base.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 Base.unplug
       
    38      * @static
       
    39      */
       
    40     Base.unplug = PluginHost.unplug;
       
    41 
       
    42 
       
    43 }, '3.0.0' ,{requires:['base-base', 'pluginhost']});