src/cm/media/js/lib/yui/yui_3.10.3/build/dd-drop-plugin/dd-drop-plugin-debug.js
changeset 525 89ef5ed3c48b
equal deleted inserted replaced
524:322d0feea350 525:89ef5ed3c48b
       
     1 /*
       
     2 YUI 3.10.3 (build 2fb5187)
       
     3 Copyright 2013 Yahoo! Inc. All rights reserved.
       
     4 Licensed under the BSD License.
       
     5 http://yuilibrary.com/license/
       
     6 */
       
     7 
       
     8 YUI.add('dd-drop-plugin', function (Y, NAME) {
       
     9 
       
    10 
       
    11        /**
       
    12         * Simple Drop plugin that can be attached to a Node via the plug method.
       
    13         * @module dd
       
    14         * @submodule dd-drop-plugin
       
    15         */
       
    16        /**
       
    17         * Simple Drop plugin that can be attached to a Node via the plug method.
       
    18         * @class Drop
       
    19         * @extends DD.Drop
       
    20         * @constructor
       
    21         * @namespace Plugin
       
    22         */
       
    23 
       
    24 
       
    25         var Drop = function(config) {
       
    26             config.node = config.host;
       
    27             Drop.superclass.constructor.apply(this, arguments);
       
    28         };
       
    29 
       
    30         /**
       
    31         * dd-drop-plugin
       
    32         * @property NAME
       
    33         * @type {String}
       
    34         */
       
    35         Drop.NAME = "dd-drop-plugin";
       
    36         /**
       
    37         * The Drop instance will be placed on the Node instance under the drop namespace. It can be accessed via Node.drop;
       
    38         * @property NS
       
    39         * @type {String}
       
    40         */
       
    41         Drop.NS = "drop";
       
    42 
       
    43 
       
    44         Y.extend(Drop, Y.DD.Drop);
       
    45         Y.namespace('Plugin');
       
    46         Y.Plugin.Drop = Drop;
       
    47 
       
    48 
       
    49 
       
    50 
       
    51 }, '3.10.3', {"requires": ["dd-drop"]});