rem: if (line.length == 0) line = " "; 
context: 							file.chunks.map(function(chunk) {									var codeDecorated = [];									var oldCodeDecorated = [];									var newCodeDecorated = [];									var oldLine = chunk['old'].line;									var newLine = chunk['new'].line;									var oldCode = chunk['old'].code;									var newCode = chunk['new'].code;									oldCode.push("");newCode.push("");									var l = chunk['old'].code.length;									for (var i=0; i < l; ++i) {										if ( oldCode[i] == newCode[i] ) {											codeDecorated = codeDecorated.concat(oldCodeDecorated).concat(newCodeDecorated);											oldCodeDecorated = [];											newCodeDecorated = [];											var line = oldCode[i];											if (line.length == 0) line = " ";											codeDecorated.push("<div class='steadyline' title='" + file.name + ":" + oldLine + "'> " + line +" </div>");											codeDecorated.push("<div class='steadyline' title='" + file.name + ":" + newLine + "'> " + line +" </div>");											newLine++;											oldLine++;										} else {											if ( newCode[i] != null ) {												var line = newCode[i];												if (line.length == 0) line = " ";												newCodeDecorated.push("<div class='addline' title='" + file.name + ":" + newLine + "'>+" + line +" </div>");												newLine++;											}											if ( oldCode[i] != null ) {												var line = oldCode[i];												if (line.length == 0) line = " ";												oldCodeDecorated.push("<div class='delline' title='" + file.name + ":" + oldLine + "'>-" + line +" </div>");												oldLine++;											}										}									}									oldCode.pop(); newCode.pop(); codeDecorated.pop(); codeDecorated.pop();									return [										dom.createElement(											"pre", {'class':'linetag'},											"@@"+chunk['old'].line + "," +chunk['new'].line +"@@"										),										dom.createElement(											"pre", {'class':'diffs'},											codeDecorated.join("")										)									];								}
meta: 4572	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4572/0acb7b5331a5c1ebe8b94323af952970fe098f7c/unified-view.js/clean/content/colorediffs/views/unified-view.js