~launchpad-pqm/lazr-js/toolchain

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/dd/dd-drop-plugin-debug.js

  • Committer: Sidnei da Silva
  • Date: 2009-11-16 00:51:29 UTC
  • mto: This revision was merged to the branch mainline in revision 154.
  • Revision ID: sidnei.da.silva@canonical.com-20091116005129-8ibwjlboa38glaw5
- Improved generation of skin modules and revamped combo service to make it more twisty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
 
Code licensed under the BSD License:
4
 
http://developer.yahoo.com/yui/license.html
5
 
version: 3.2.0
6
 
build: 2676
7
 
*/
8
 
YUI.add('dd-drop-plugin', function(Y) {
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
 
        * @property NAME
32
 
        * @description dd-drop-plugin
33
 
        * @type {String}
34
 
        */
35
 
        Drop.NAME = "dd-drop-plugin";
36
 
        /**
37
 
        * @property NS
38
 
        * @description The Drop instance will be placed on the Node instance under the drop namespace. It can be accessed via Node.drop;
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
 
 
52
 
}, '3.2.0' ,{skinnable:false, requires:['dd-drop']});