You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
/*
|
|
YUI 3.17.2 (build 9c3c78e)
|
|
Copyright 2014 Yahoo! Inc. All rights reserved.
|
|
Licensed under the BSD License.
|
|
http://yuilibrary.com/license/
|
|
*/
|
|
|
|
YUI.add('dd-drop-plugin', function (Y, NAME) {
|
|
|
|
|
|
/**
|
|
* Simple Drop plugin that can be attached to a Node via the plug method.
|
|
* @module dd
|
|
* @submodule dd-drop-plugin
|
|
*/
|
|
/**
|
|
* Simple Drop plugin that can be attached to a Node via the plug method.
|
|
* @class Drop
|
|
* @extends DD.Drop
|
|
* @constructor
|
|
* @namespace Plugin
|
|
*/
|
|
|
|
|
|
var Drop = function(config) {
|
|
config.node = config.host;
|
|
Drop.superclass.constructor.apply(this, arguments);
|
|
};
|
|
|
|
/**
|
|
* dd-drop-plugin
|
|
* @property NAME
|
|
* @type {String}
|
|
*/
|
|
Drop.NAME = "dd-drop-plugin";
|
|
/**
|
|
* The Drop instance will be placed on the Node instance under the drop namespace. It can be accessed via Node.drop;
|
|
* @property NS
|
|
* @type {String}
|
|
*/
|
|
Drop.NS = "drop";
|
|
|
|
|
|
Y.extend(Drop, Y.DD.Drop);
|
|
Y.namespace('Plugin');
|
|
Y.Plugin.Drop = Drop;
|
|
|
|
|
|
|
|
|
|
}, '3.17.2', {"requires": ["dd-drop"]});
|
|
|