On Tue, May 19, 2009 at 8:16 PM, RobG <rg...@iinet.net.au> wrote:

>  On May 19, 9:26 pm, ColinFine <colin.f...@pace.com> wrote:
> > This is a case when you really truly want just the facilities that
> > Javascript provides (prototypes rather than classes), and using
> > (pretend) classes makes it harder not easier.
> Yes, although some may argue that it is better to create a new object
> that has the required methods and leverages the methods of Date,
> rather than modifying a built-in object prototype[snip]
I fully agree on that, but since OP is using prototype.js, who already
extends a lot of built-in objects, it doesn't make a difference.

Gabriel Gilini


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to