mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
33 lines
701 B
JavaScript
33 lines
701 B
JavaScript
/*
|
|
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
|
|
Code licensed under the BSD License:
|
|
http://developer.yahoo.com/yui/license.html
|
|
version: 3.1.1
|
|
build: 47
|
|
*/
|
|
YUI.add('anim-node-plugin', function(Y) {
|
|
|
|
/**
|
|
* Binds an Anim instance to a Node instance
|
|
* @module anim
|
|
* @class Plugin.NodeFX
|
|
* @extends Base
|
|
* @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.1.1' ,{requires:['node-pluginhost', 'anim-base']});
|