Jacob Burkhart wrote:
> John W. Long wrote:
>> Very interesting. Can you clean up the Javascript so that it uses the
>> built in prototype.js functions?
> 
> What sort of cleanup did you have in mind?
> 
> I just learned the other day (after I had already written this) that you 
> can find elements like this:
> $$('div.tag-reference')
> 
> I could use that to replace my getAllDivsOfClass

I think that's the main area that should be cleaned up, though 
document.getElementsByClassName() may be faster than 
$$('div.tag-reference').

--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to