source: Dev/branches/rest-dojo-ui/client/dojo/dnd/Target.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 430 bytes
Line 
1define([ "./Source" ], function(Source){
2        /*===== Source = dojo.dnd.Source =====*/
3        return dojo.declare("dojo.dnd.Target", Source, {
4                // summary: a Target object, which can be used as a DnD target
5
6                constructor: function(node, params){
7                        // summary:
8                        //              a constructor of the Target --- see the `dojo.dnd.Source.constructor` for details
9                        this.isSource = false;
10                        dojo.removeClass(this.node, "dojoDndSource");
11                }
12        });
13});
Note: See TracBrowser for help on using the repository browser.