rem: return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return c.className ? Element.hasClassName(c, className) : false; })].flatten(); 
add: var classNameRegExp = new RegExp("(^|\\s)" + className + "(\\s|$)"); var results = $A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) { return (c.className && c.className.match(classNameRegExp)); }); if(!results) results = []; return results; 
context: Element.childrenWithClassName = function(element, className, findFirst) {  return [$A($(element).getElementsByTagName('*'))[findFirst ? 'detect' : 'select']( function(c) {     return c.className ? Element.hasClassName(c, className) : false;  })].flatten();}
meta: 2598	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2598/bb2276098a5a21c35e5ee72b3097bd9d7caa919f/effects.js/clean/railties/html/javascripts/effects.js