diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/build/dd-drop-plugin/dd-drop-plugin.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/build/dd-drop-plugin/dd-drop-plugin.js Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,51 @@ +/* +YUI 3.10.3 (build 2fb5187) +Copyright 2013 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.10.3', {"requires": ["dd-drop"]});