I'm getting a few "Don't make functions within a loop."
errors from JSLint, anyone got any tidy suggestions on how to fix this stuff up?
Perhaps my naughtiness is excusable because of my YAHOO dependencies (yd.
below)? I can safely say that the only time I've done the following:
for( var i=0; i<FLN.revealers.length;i++ )
{
var revEl = FLN.revealers[i] ;
var tag = yd.getElementsBy(function(el){
return true;
},'script',revEl );
}
... is when I need to perform an operation on a series of elements nested within a series of elements, to my mind this seems natural. I haven't found any slowness etc in my app, just curious because JSLint hurt my feelings :)