raf a écrit :
> Object.prototype.getElementsByClassName = function ( className ) {THERE! Why on Earth do you have this? It makes no sense! Only elements feature getElementsByTagName! And Prototype ALREADY provides getElementsByClassName, both at the document level and at the (extended) element level. Your bloating Object.prototype results in all for...in loops breaking apart, and this specific addition makes no sense, too! -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
