]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - jssource/src_files/include/javascript/yui3/build/anim/anim-node-plugin.js
Release 6.5.0
[Github/sugarcrm.git] / jssource / src_files / include / javascript / yui3 / build / anim / anim-node-plugin.js
1 /*
2 Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
5 version: 3.3.0
6 build: 3167
7 */
8 YUI.add('anim-node-plugin', function(Y) {
9
10 /**
11  *  Binds an Anim instance to a Node instance
12  * @module anim
13  * @class Plugin.NodeFX
14  * @extends Base
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.3.0' ,{requires:['node-pluginhost', 'anim-base']});