AutoSource.js 398 B

12345678910111213
  1. define("dojo/dnd/AutoSource", [ "./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. constructor: function(node, params){
  7. // summary:
  8. // constructor of the AutoSource --- see the Source constructor for details
  9. this.autoSync = true;
  10. }
  11. });
  12. });