[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/yuilib/3.17.2/base-pluginhost/ -> base-pluginhost.js (source)

   1  /*
   2  YUI 3.17.2 (build 9c3c78e)
   3  Copyright 2014 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.17.2', {"requires": ["base-base", "pluginhost"]});


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1