rem: dojo.forEach(nodes, function(node){ if(!node){ return; } var type = node.getAttribute("dojoType"); if((!type)||(!type.length)){ return; } var clsInfo = getClassInfo(type); var params = {}; for(var attrName in clsInfo.params){ var attrValue = node.getAttribute(attrName); if(attrValue != null && !dojo.isAlien(attrValue)){ var attrType = clsInfo.params[attrName]; var val = str2obj(attrValue, attrType); if(val != null){ params[attrName] = val; } } }  var scripts = dojo.query("> script[type='dojo/connect']", node).orphan();    var instance = new clsInfo.cls(params, node); thelist.push(instance);   var jsname = node.getAttribute("jsId"); if(jsname){ dojo.setObject(jsname, instance); }   scripts.forEach(function(script){ dojo.parser._wireUpConnect(instance, script); 
add: dojo.forEach(withStr.split(/\s*,\s*/), function(part){ preamble += "with("+part+"){"; suffix += "}"; 
context: 		dojo.forEach(nodes, function(node){			if(!node){ return; }			var type = node.getAttribute("dojoType");			if((!type)||(!type.length)){ return; }			var clsInfo = getClassInfo(type);			var params = {};			for(var attrName in clsInfo.params){				var attrValue = node.getAttribute(attrName);				if(attrValue != null && !dojo.isAlien(attrValue)){ // see bug#3074; ignore builtin attributes					var attrType = clsInfo.params[attrName];					var val = str2obj(attrValue, attrType);					if(val != null){						params[attrName] = val;					}				}			}			var scripts = dojo.query("> script[type='dojo/connect']", node).orphan();			// console.debug(scripts);			// create the instance			var instance = new clsInfo.cls(params, node);			thelist.push(instance);			// map it to the JS namespace if that makes sense			var jsname = node.getAttribute("jsId");			if(jsname){				dojo.setObject(jsname, instance);			}			// check to see if we need to hook up events			scripts.forEach(function(script){				dojo.parser._wireUpConnect(instance, script);			});		});
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/93b64d68fa60562eaa99a166622f20ba18c27c63/parser.js/buggy/parser.js