js/jquery.event.drag-2.3.0.js
function(){
                // check for related events
                if ( $.data( this, drag.datakey ) )
                    return;
                // initialize the drag data with copied defaults
                var data = $.extend({ related:0 }, drag.defaults );
                // store the interaction data
                $.data( this, drag.datakey, data );
                // bind the mousedown event, which starts drag interactions
                $event.add( this, "touchstart mousedown", drag.init, data );
                // prevent image dragging in IE...
                if ( this.attachEvent )
                    this.attachEvent("ondragstart", drag.dontstart );
            }
function(){
                // check for related events
                if ( $.data( this, drag.datakey ) )
                    return;
                // initialize the drag data with copied defaults
                var data = $.extend({ related:0 }, drag.defaults );
                // store the interaction data
                $.data( this, drag.datakey, data );
                // bind the mousedown event, which starts drag interactions
                $event.add( this, "touchstart mousedown", drag.init, data );
                // prevent image dragging in IE...
                if ( this.attachEvent )
                    this.attachEvent("ondragstart", drag.dontstart );
            }
function ( ) { // check for related events if ( $ . data ( this , drag . datakey ) ) return ; // initialize the drag data with copied defaults var data = $ . extend ( { related : 0 } , drag . defaults ) ; // store the interaction data $ . data ( this , drag . datakey , data ) ; // bind the mousedown event, which starts drag interactions $event . add ( this , "touchstart mousedown" , drag . init , data ) ; // prevent image dragging in IE... if ( this . attachEvent ) this . attachEvent ( "ondragstart" , drag . dontstart ) ; }
configure interaction, capture settings
configure interaction capture settings