On 11/16/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > > I recently had the wish for extended functions on arrays, hashs and > > objects > > like Prototype provides with extending the Array() object. I often used > > features like without() and truncate(). I am really thinking of > > rewriting/porting a lot of stuff for jQuery and call it "jQuery Methods", > > but I have still thoughts going on about the right implementation. > > Just commited string.js and array.js to the plugin repository. They are > extending Array and String prototypes with functions, when they do not exist > yet. Documentation and testsuite is in there, too. > > Source: > http://jquery.com/dev/svn/trunk/plugins/methods/array.js?format=txt > http://jquery.com/dev/svn/trunk/plugins/methods/string.js?format=txt > > What do you think?
I think these are great and I'm over not extending the prototypes ... especially since we do a check first. I'll be adding some Date methods as soon as I can. -- Brandon Aaron _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
