You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
692 B
34 lines
692 B
2 years ago
|
/*
|
||
|
YUI 3.17.2 (build 9c3c78e)
|
||
|
Copyright 2014 Yahoo! Inc. All rights reserved.
|
||
|
Licensed under the BSD License.
|
||
|
http://yuilibrary.com/license/
|
||
|
*/
|
||
|
|
||
|
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.17.2', {"requires": ["node-pluginhost", "anim-base"]});
|