src/cm/media/js/lib/yui/yui_3.10.3/build/anim-node-plugin/anim-node-plugin.js
changeset 525 89ef5ed3c48b
equal deleted inserted replaced
524:322d0feea350 525:89ef5ed3c48b
       
     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('anim-node-plugin', function (Y, NAME) {
       
     9 
       
    10 /**
       
    11  *  Binds an Anim instance to a Node instance
       
    12  * @module anim
       
    13  * @class Plugin.NodeFX
       
    14  * @extends Anim
       
    15  * @submodule anim-node-plugin
       
    16  */
       
    17 
       
    18 var NodeFX = function(config) {
       
    19     config = (config) ? Y.merge(config) : {};
       
    20     config.node = config.host;
       
    21     NodeFX.superclass.constructor.apply(this, arguments);
       
    22 };
       
    23 
       
    24 NodeFX.NAME = "nodefx";
       
    25 NodeFX.NS = "fx";
       
    26 
       
    27 Y.extend(NodeFX, Y.Anim);
       
    28 
       
    29 Y.namespace('Plugin');
       
    30 Y.Plugin.NodeFX = NodeFX;
       
    31 
       
    32 
       
    33 }, '3.10.3', {"requires": ["node-pluginhost", "anim-base"]});