Cross Reference:
xref
: /
yui3
/
build
/
anim
/
anim-node-plugin.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
anim-node-plugin.js revision 086254994171734e6ba3d23a86e02042859732f2
YUI
.
add
(
'anim-node-plugin'
,
function
(Y) {
/**
* Binds an Anim instance to a Node instance
* @module anim
* @namespace plugin
* @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
;
},
'@VERSION@'
,{
requires
:[
'anim-base'
,
'node-base'
]});