27 lines
547 B
JavaScript
27 lines
547 B
JavaScript
YUI.add('anim-node-plugin', function (Y, NAME) {
|
|
|
|
/**
|
|
* Binds an Anim instance to a Node instance
|
|
* @module anim
|
|
* @class Plugin.NodeFX
|
|
* @extends Anim
|
|
* @submodule anim-node-plugin
|
|
*/
|
|
|
|
var NodeFX = function(config) {
|
|
config = (config) ? Y.merge(config) : {};
|
|
config.node = config.host;
|
|
NodeFX.superclass.constructor.apply(this, arguments);
|
|
};
|
|
|
|
NodeFX.NAME = "nodefx";
|
|
NodeFX.NS = "fx";
|
|
|
|
Y.extend(NodeFX, Y.Anim);
|
|
|
|
Y.namespace('Plugin');
|
|
Y.Plugin.NodeFX = NodeFX;
|
|
|
|
|
|
}, '3.18.1', {"requires": ["node-pluginhost", "anim-base"]});
|