Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
YUI.add('dd-drop-plugin', function (Y, NAME) {
2
 
3
 
4
       /**
5
        * Simple Drop plugin that can be attached to a Node via the plug method.
6
        * @module dd
7
        * @submodule dd-drop-plugin
8
        */
9
       /**
10
        * Simple Drop plugin that can be attached to a Node via the plug method.
11
        * @class Drop
12
        * @extends DD.Drop
13
        * @constructor
14
        * @namespace Plugin
15
        */
16
 
17
 
18
        var Drop = function(config) {
19
            config.node = config.host;
20
            Drop.superclass.constructor.apply(this, arguments);
21
        };
22
 
23
        /**
24
        * dd-drop-plugin
25
        * @property NAME
26
        * @type {String}
27
        */
28
        Drop.NAME = "dd-drop-plugin";
29
        /**
30
        * The Drop instance will be placed on the Node instance under the drop namespace. It can be accessed via Node.drop;
31
        * @property NS
32
        * @type {String}
33
        */
34
        Drop.NS = "drop";
35
 
36
 
37
        Y.extend(Drop, Y.DD.Drop);
38
        Y.namespace('Plugin');
39
        Y.Plugin.Drop = Drop;
40
 
41
 
42
 
43
 
44
}, '3.18.1', {"requires": ["dd-drop"]});