dist/garnish.js
function() {
            this._returningHelpersToDraggees = true;

            for (var i = 0; i < this.helpers.length; i++) {
                var $draggee = this.$draggee.eq(i),
                    $helper = this.helpers[i];

                $draggee.css({
                    display: this.draggeeDisplay,
                    visibility: 'hidden'
                });

                var draggeeOffset = $draggee.offset();
                var callback;

                if (i === 0) {
                    callback = $.proxy(this, '_showDraggee');
                }
                else {
                    callback = null;
                }

                $helper.velocity({left: draggeeOffset.left, top: draggeeOffset.top}, Garnish.FX_DURATION, callback);
            }
        }
function() {
            this._returningHelpersToDraggees = true;

            for (var i = 0; i < this.helpers.length; i++) {
                var $draggee = this.$draggee.eq(i),
                    $helper = this.helpers[i];

                $draggee.css({
                    display: this.draggeeDisplay,
                    visibility: 'hidden'
                });

                var draggeeOffset = $draggee.offset();
                var callback;

                if (i === 0) {
                    callback = $.proxy(this, '_showDraggee');
                }
                else {
                    callback = null;
                }

                $helper.velocity({left: draggeeOffset.left, top: draggeeOffset.top}, Garnish.FX_DURATION, callback);
            }
        }
function ( ) { this . _returningHelpersToDraggees = true ; for ( var i = 0 ; i < this . helpers . length ; i ++ ) { var $draggee = this . $draggee . eq ( i ) , $helper = this . helpers [ i ] ; $draggee . css ( { display : this . draggeeDisplay , visibility : 'hidden' } ) ; var draggeeOffset = $draggee . offset ( ) ; var callback ; if ( i === 0 ) { callback = $ . proxy ( this , '_showDraggee' ) ; } else { callback = null ; } $helper . velocity ( { left : draggeeOffset . left , top : draggeeOffset . top } , Garnish . FX_DURATION , callback ) ; } }
Return Helpers to Draggees
Return Helpers to Draggees