> Good opinions there in your emails, I have thought about adding prototypes > to Strings and Arrays alot, and I also think it's more natural than using > a > namespace. > And Jörn, you are true that bad practise should not be > promoted/supported. > > If it can be achieved, it may be nice to have the best of both worlds. Use > prototypes as default, and for users who'd really like the namespace > solution, add a mapping option. > > Sadly I have very little time at the moment to redefine the code, it would > be great to see implementations of you guys. If not, I will come back at > it > in a couple of days.
I can donate my String extensions. For the Array stuff, I'd just take existing tested implementations for the Javascript 1.6 methods and add. I just saw your truncate() and stripTags() methods, I'd add some tests for those. -- Jörn Zaefferer http://bassistance.de -- "Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht! _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
