equal
deleted
inserted
replaced
|
1 /* |
|
2 Copyright (c) 2009, Yahoo! Inc. All rights reserved. |
|
3 Code licensed under the BSD License: |
|
4 http://developer.yahoo.net/yui/license.txt |
|
5 version: 3.0.0b1 |
|
6 build: 1163 |
|
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 |
|
34 }, '3.0.0b1' ,{requires:['anim-base', 'node-base']}); |