rem:  var anim = dojo.lfx.slideTo(this.dragClone, endCoords, 500, dojo.lfx.easeOut); var dragObject = this; dojo.event.connect(anim, "onEnd", function (e) {  dojo.lang.setTimeout(function() { dojo.html.removeNode(dragObject.dragClone);  dragObject.dragClone = null; }, 200); }); anim.play(); break; } 
add:  var anim = dojo.lfx.slideTo(this.dragClone, endCoords, 300); var dragObject = this; dojo.event.connect(anim, "onEnd", function(e){   dojo.html.removeNode(dragObject.dragClone);  dragObject.dragClone = null;   }); anim.play(); break; } 
context: 	onDragEnd: function(e){		switch(e.dragStatus){			case "dropSuccess":				dojo.html.removeNode(this.dragClone);				this.dragClone = null;				break;			case "dropFailure": // slide back to the start				var startCoords = dojo.html.getAbsolutePosition(this.dragClone, true);				// offset the end so the effect can be seen				var endCoords = { left: this.dragStartPosition.x + 1,					top: this.dragStartPosition.y + 1};				// animate				var anim = dojo.lfx.slideTo(this.dragClone, endCoords, 500, dojo.lfx.easeOut);				var dragObject = this;				dojo.event.connect(anim, "onEnd", function (e) {					// pause for a second (not literally) and disappear					dojo.lang.setTimeout(function() {							dojo.html.removeNode(dragObject.dragClone);							// Allow drag clone to be gc'ed							dragObject.dragClone = null;						},						200);				});				anim.play();				break;		}		dojo.event.topic.publish('dragEnd', { source: this } );	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/HtmlDragAndDrop.js/buggy/www/resources/dojo-ajax/src/dnd/HtmlDragAndDrop.js