rem: programLines.each(function(segment, ix) { var output = outputs[ix].escapeHTML(); var m = segment.match(/'(.*)', /); if (m && '"' + m[1] + '"' == output.slice(0, m[1].length+2)) { output = output.slice(m[1].length+2); segment = segment.slice(m[0].length); } var m = segment.indexOf(');'); lines.push(segment.slice(0, m)); lines.push(';\n <span class="output">&rarr; '); lines.push(output.strip()); lines.push('</span>'); lines.push(segment.slice(m+2)); }); 
add: var args = $A(arguments).map(function(x) { switch (typeof(x)) { case 'function': return 'function'; case 'string': return '"' + x + '"'; default: return x; } }); 
context:     programLines.each(function(segment, ix) {        var output = outputs[ix].escapeHTML();        var m = segment.match(/'(.*)', /);        if (m && '"' + m[1] + '"' == output.slice(0, m[1].length+2)) {            output = output.slice(m[1].length+2);            segment = segment.slice(m[0].length);        }        var m = segment.indexOf(');');        lines.push(segment.slice(0, m));        lines.push(';\n <span class="output">&rarr; ');        lines.push(output.strip());        lines.push('</span>');        lines.push(segment.slice(m+2));    });
meta: 10840	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10840/7a8372a5868c6c38d02f197d98a9ae2972985a47/partials-demo.js/clean/partials-demo.js