rem: dojo.lang.forEach(nodes, function(node){ var color = dojo.html.getBackgroundColor(node); var bg = dojo.html.getStyle(node, "background-color").toLowerCase(); var bgImage = dojo.html.getStyle(node, "background-image"); var wasTransparent = (bg == "transparent" || bg == "rgba(0, 0, 0, 0)"); while(color.length > 3) { color.pop(); }  var rgb = new dojo.gfx.color.Color(startColor); var endRgb = new dojo.gfx.color.Color(color);  var anim = dojo.lfx.propertyAnimation(node, { "background-color": { start: rgb, end: endRgb } }, duration, easing, { "beforeBegin": function(){ if(bgImage){ node.style.backgroundImage = "none"; } node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")"; }, "onEnd": function(){ if(bgImage){ node.style.backgroundImage = bgImage; } if(wasTransparent){ node.style.backgroundColor = "transparent"; } if(callback){ callback(node, anim); } } } );  anims.push(anim); }); 
add: anim.connect("onEnd", function(){ callback(startNode, anim); }); 
context: 	dojo.lang.forEach(nodes, function(node){		var color = dojo.html.getBackgroundColor(node);		var bg = dojo.html.getStyle(node, "background-color").toLowerCase();		var bgImage = dojo.html.getStyle(node, "background-image");		var wasTransparent = (bg == "transparent" || bg == "rgba(0, 0, 0, 0)");		while(color.length > 3) { color.pop(); }		var rgb = new dojo.gfx.color.Color(startColor);		var endRgb = new dojo.gfx.color.Color(color);		var anim = dojo.lfx.propertyAnimation(node, 			{ "background-color": { start: rgb, end: endRgb } }, 			duration, 			easing,			{				"beforeBegin": function(){ 					if(bgImage){						node.style.backgroundImage = "none";					}					node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")";				},				"onEnd": function(){ 					if(bgImage){						node.style.backgroundImage = bgImage;					}					if(wasTransparent){						node.style.backgroundColor = "transparent";					}					if(callback){						callback(node, 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