source: Dev/branches/rest-dojo-ui/client/dojo/dnd/AutoSource.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: 375 bytes
Line 
1define([ "./Source" ], function(Source){
2        /*===== Source = dojo.dnd.Source =====*/
3        return dojo.declare("dojo.dnd.AutoSource", Source, {
4                // summary:
5                //              a source that syncs its DnD nodes by default
6
7                constructor: function(node, params){
8                        // summary:
9                        //              constructor of the AutoSource --- see the Source constructor for details
10                        this.autoSync = true;
11                }
12        });
13});
Note: See TracBrowser for help on using the repository browser.