rem: { if (typeof evt == "undefined" || evt == null) return null; var f = evt + ""; f = f.substring(f.indexOf("{") + 1); if (f.charAt(f.length - 1) == "\n") f = f.substring(0, f.length - 2); else f = f.substring(0, f.length - 1); var res = ""; for (i=0;i<f.length;i++) if (f.charAt(i) == "\n") res += ""; else if (f.charAt(i) == '"') res += "'"; else res += f.charAt(i); var startSpaces = new RegExp("^[ ]+", "gim"); var endSpaces = new RegExp("[ ]+$", "gim"); res = res.replace(startSpaces, ""); res = res.replace(endSpaces, ""); return res; 
add: { if (typeof evt == "undefined" || evt == null) return null; var f = evt + ""; f = f.substring(f.indexOf("{") + 1); if (f.charAt(f.length - 1) == "\n") f = f.substring(0, f.length - 2); else f = f.substring(0, f.length - 1); var res = ""; for (i=0;i<f.length;i++) if (f.charAt(i) == "\n") res += ""; else if (f.charAt(i) == '"') res += "'"; else res += f.charAt(i); var startSpaces = new RegExp("^[ ]+", "gim"); var endSpaces = new RegExp("[ ]+$", "gim"); res = res.replace(startSpaces, ""); res = res.replace(endSpaces, ""); return res; 
context: 		function processEvent(evt)		{			if (typeof evt == "undefined" || evt == null) return null;			var f = evt + "";			f = f.substring(f.indexOf("{") + 1);			if (f.charAt(f.length - 1) == "\n") f = f.substring(0, f.length - 2);			else f = f.substring(0, f.length - 1);			var res = "";			for (i=0;i<f.length;i++)				if (f.charAt(i) == "\n") res += "";				else if (f.charAt(i) == '"') res += "'";					 else res += f.charAt(i);			var startSpaces = new RegExp("^[ ]+", "gim");			var endSpaces = new RegExp("[ ]+$", "gim");			res = res.replace(startSpaces, "");			res = res.replace(endSpaces, "");			return res;		}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5635/527cf5457da0bbcd901319db3fb78a7f3c74d57b/table-editor.js/clean/fudge/wysiwyg/plugins/table_editing/table-editor.js