examples/template_stealjs/funcunit/syn/resources/jquery.event.drag.js
function( event ) {
			if ( this._cancelled ) {
				return;
			}
			if (!this._only && this.constructor.responder ) {
				this.constructor.responder.end(event, this);
			}

			this.callEvents('end', this.element, event);

			if ( this._revert ) {
				var self = this;
				this.movingElement.animate({
					top: this.startPosition.top() + "px",
					left: this.startPosition.left() + "px"
				}, function() {
					self.cleanup.apply(self, arguments);
				});
			}
			else {
				this.cleanup();
			}
			this.event = null;
		}
function( event ) {
			if ( this._cancelled ) {
				return;
			}
			if (!this._only && this.constructor.responder ) {
				this.constructor.responder.end(event, this);
			}

			this.callEvents('end', this.element, event);

			if ( this._revert ) {
				var self = this;
				this.movingElement.animate({
					top: this.startPosition.top() + "px",
					left: this.startPosition.left() + "px"
				}, function() {
					self.cleanup.apply(self, arguments);
				});
			}
			else {
				this.cleanup();
			}
			this.event = null;
		}
function ( event ) { if ( this . _cancelled ) { return ; } if ( ! this . _only && this . constructor . responder ) { this . constructor . responder . end ( event , this ) ; } this . callEvents ( 'end' , this . element , event ) ; if ( this . _revert ) { var self = this ; this . movingElement . animate ( { top : this . startPosition . top ( ) + "px" , left : this . startPosition . left ( ) + "px" } , function ( ) { self . cleanup . apply ( self , arguments ) ; } ) ; } else { this . cleanup ( ) ; } this . event = null ; }
Called on drag up
@hide
@param {Event} event a mouseup event signalling drag/drop has completed
Called on drag up