src/cm/media/js/lib/yui/yui3-3.15.0/build/anim-node-plugin/anim-node-plugin-debug.js
equal
deleted
inserted
replaced
|
1 YUI.add('anim-node-plugin', function (Y, NAME) { |
|
2 |
|
3 /** |
|
4 * Binds an Anim instance to a Node instance |
|
5 * @module anim |
|
6 * @class Plugin.NodeFX |
|
7 * @extends Anim |
|
8 * @submodule anim-node-plugin |
|
9 */ |
|
10 |
|
11 var NodeFX = function(config) { |
|
12 config = (config) ? Y.merge(config) : {}; |
|
13 config.node = config.host; |
|
14 NodeFX.superclass.constructor.apply(this, arguments); |
|
15 }; |
|
16 |
|
17 NodeFX.NAME = "nodefx"; |
|
18 NodeFX.NS = "fx"; |
|
19 |
|
20 Y.extend(NodeFX, Y.Anim); |
|
21 |
|
22 Y.namespace('Plugin'); |
|
23 Y.Plugin.NodeFX = NodeFX; |
|
24 |
|
25 |
|
26 }, '@VERSION@', {"requires": ["node-pluginhost", "anim-base"]}); |