dist/garnish.js
function($newDraggee) {
            if (!$newDraggee.length) {
                return;
            }

            if (!this.settings.collapseDraggees) {
                var oldLength = this.$draggee.length;
            }

            this.$draggee = $(this.$draggee.toArray().concat($newDraggee.toArray()));

            // Create new helpers?
            if (!this.settings.collapseDraggees) {
                var newLength = this.$draggee.length;

                for (var i = oldLength; i < newLength; i++) {
                    this._createHelper(i);
                }
            }

            if (this.settings.removeDraggee || this.settings.collapseDraggees) {
                $newDraggee.hide();
            }
            else {
                $newDraggee.css('visibility', 'hidden');
            }
        }
function($newDraggee) {
            if (!$newDraggee.length) {
                return;
            }

            if (!this.settings.collapseDraggees) {
                var oldLength = this.$draggee.length;
            }

            this.$draggee = $(this.$draggee.toArray().concat($newDraggee.toArray()));

            // Create new helpers?
            if (!this.settings.collapseDraggees) {
                var newLength = this.$draggee.length;

                for (var i = oldLength; i < newLength; i++) {
                    this._createHelper(i);
                }
            }

            if (this.settings.removeDraggee || this.settings.collapseDraggees) {
                $newDraggee.hide();
            }
            else {
                $newDraggee.css('visibility', 'hidden');
            }
        }
function ( $newDraggee ) { if ( ! $newDraggee . length ) { return ; } if ( ! this . settings . collapseDraggees ) { var oldLength = this . $draggee . length ; } this . $draggee = $ ( this . $draggee . toArray ( ) . concat ( $newDraggee . toArray ( ) ) ) ; // Create new helpers? if ( ! this . settings . collapseDraggees ) { var newLength = this . $draggee . length ; for ( var i = oldLength ; i < newLength ; i ++ ) { this . _createHelper ( i ) ; } } if ( this . settings . removeDraggee || this . settings . collapseDraggees ) { $newDraggee . hide ( ) ; } else { $newDraggee . css ( 'visibility' , 'hidden' ) ; } }
Appends additional items to the draggee.
Appends additional items to the draggee .