rem: var node = nodes[i]; attribute_replace( node, pattern, substitute, attributes ); 
add: attribute_replace( nodes[i], pattern, substitute, attributes ); 
context: function attribute_replace( element, pattern, substitute, attributes ) {  if ( ! attributes ) attributes = ['id','name','onchange'];  for( var k = 0; k < attributes.length; k++ ) {    if ( element.getAttribute( attributes[k] ) ) {      element.setAttribute( attributes[k], element.getAttribute( attributes[k] ).replace( pattern, substitute ) );    }  }  if ( element.nodeName != 'SELECT' ) {    var nodes = $(element).immediateDescendants();    for( var i = 0; i < nodes.length; i++ ) {      var node = nodes[i];      attribute_replace( node, pattern, substitute, attributes );    }  }}
meta: 2782	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2782/ff85f5cbfa94a7072daadef4ca100d3ba5501908/application.js/clean/rails/public/javascripts/application.js