public/javascripts/yui/dragdrop/dragdrop-debug.js
function(id, sGroup, config) {
        this.initTarget(id, sGroup, config);
        Event.on(this._domRef || this.id, "mousedown", 
                        this.handleMouseDown, this, true);

        // Event.on(this.id, "selectstart", Event.preventDefault);
        for (var i in this.events) {
            this.createEvent(i + 'Event');
        }
        
    }
function(id, sGroup, config) {
        this.initTarget(id, sGroup, config);
        Event.on(this._domRef || this.id, "mousedown", 
                        this.handleMouseDown, this, true);

        // Event.on(this.id, "selectstart", Event.preventDefault);
        for (var i in this.events) {
            this.createEvent(i + 'Event');
        }
        
    }
function ( id , sGroup , config ) { this . initTarget ( id , sGroup , config ) ; Event . on ( this . _domRef || this . id , "mousedown" , this . handleMouseDown , this , true ) ; // Event.on(this.id, "selectstart", Event.preventDefault); for ( var i in this . events ) { this . createEvent ( i + 'Event' ) ; } }
Sets up the DragDrop object.  Must be called in the constructor of any
YAHOO.util.DragDrop subclass
@method init
@param id the id of the linked element
@param {String} sGroup the group of related items
@param {object} config configuration attributes
Sets up the DragDrop object . Must be called in the constructor of any YAHOO . util . DragDrop subclass