[jQuery] FF3 & Webkit native getElementsByClassName
has anyone tried modifying jQuery's internal classFilter function to
use the
native implementation of getElementsByClassName in FF3 and WebKit?
if so, where?
if not, what's the best way to go about it?
------------------------------
classFilter: function(r,m,not){
m = " " + m + " ";
var tmp = [];
for ( var i = 0; r[i]; i++ ) {
var pass = (" " + r[i].className + " ").indexOf( m ) >= 0;
if ( !not && pass || not && !pass )
tmp.push( r[i] );
}
return tmp;
}
-------------------------------
thanks,
Leon