rem: dojo.lang.forEach(nodes, function(node){ var top = null; var left = null;  var init = (function(){ var innerNode = node; return function(){ var pos = compute(innerNode, 'position'); top = (pos == 'absolute' ? node.offsetTop : parseInt(compute(node, 'top')) || 0); left = (pos == 'absolute' ? node.offsetLeft : parseInt(compute(node, 'left')) || 0);  if (!dojo.lang.inArray(['absolute', 'relative'], pos)) { var ret = dojo.html.abs(innerNode, true); dojo.html.setStyleAttributes(innerNode, "position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;"); top = ret.y; left = ret.x; } } })(); init();  var anim = dojo.lfx.propertyAnimation(node, { "top": { start: top, end: top+(coords.top||0) }, "left": { start: left, end: left+(coords.left||0) } }, duration, easing).connect("beforeBegin", init);  if(callback){ anim.connect("onEnd", function(){ callback(nodes, anim); }); }  anims.push(anim); }); 
add: anim.connect("onEnd", function(){ callback(nodes, anim); }); 
context: 	dojo.lang.forEach(nodes, function(node){		var top = null;		var left = null;				var init = (function(){			var innerNode = node;			return function(){				var pos = compute(innerNode, 'position');				top = (pos == 'absolute' ? node.offsetTop : parseInt(compute(node, 'top')) || 0);				left = (pos == 'absolute' ? node.offsetLeft : parseInt(compute(node, 'left')) || 0);				if (!dojo.lang.inArray(['absolute', 'relative'], pos)) {					var ret = dojo.html.abs(innerNode, true);					dojo.html.setStyleAttributes(innerNode, "position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");					top = ret.y;					left = ret.x;				}			}		})();		init();				var anim = dojo.lfx.propertyAnimation(node,			{				"top": { start: top, end: top+(coords.top||0) },				"left": { start: left, end: left+(coords.left||0) }			},			duration,			easing).connect("beforeBegin", init);		if(callback){			anim.connect("onEnd", function(){ callback(nodes, anim); });		}		anims.push(anim);	});
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js.uncompressed.js/buggy/www/resources/dojo-ajax/dojo.js.uncompressed.js