rem: var str = ""; for (var i=0; i<this.size(); i++) { var c = this.get(i); var param = new Object(); param.title = c.title; param.count = c.size(); param.percent = 0; if (param.count > 0) { param.percent = this.calcPercent(param); param.width = Math.round(param.percent * 2.5); param.graph = c.renderSkinAsString("graph", param); param.text = " sucker"; if (param.count == 1) param.text = " " + (param2.one ? param2.one : "vote"); else param.text = " " + (param2.more ? param2.more : "votes"); } else param.text = " " + (param2.no ? param2.no : "votes"); str += c.renderSkinAsString("result", param); } return(str); 
add: var str = ""; for (var i=0; i<this.size(); i++) { var c = this.get(i); var param = new Object(); param.title = c.title; param.count = c.size(); param.percent = 0; if (param.count > 0) { param.percent = this.calcPercent(param); param.width = Math.round(param.percent * 2.5); param.graph = c.renderSkinAsString("graph", param); param.text = " sucker"; if (param.count == 1) param.text = " " + (param2.one ? param2.one : "vote"); else param.text = " " + (param2.more ? param2.more : "votes"); } else param.text = " " + (param2.no ? param2.no : "votes"); str += c.renderSkinAsString("result", param); } return(str); 
context: function results_macro(param2) {	var str = "";	for (var i=0; i<this.size(); i++) {		var c = this.get(i);		var param = new Object();		param.title = c.title;		param.count = c.size();		param.percent = 0;		if (param.count > 0) {			param.percent = this.calcPercent(param);			param.width = Math.round(param.percent * 2.5);			param.graph = c.renderSkinAsString("graph", param);			param.text = " sucker";			if (param.count == 1)				param.text = " " + (param2.one ? param2.one : "vote");			else				param.text = " " + (param2.more ? param2.more : "votes");		}		else			param.text = " " + (param2.no ? param2.no : "votes");		str += c.renderSkinAsString("result", param);	}	return(str);}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/9f008a01a55ed405b1a4aecf9a459a35b948bd13/macros.js/buggy/code/Poll/macros.js