#12 ✓resolved
martin overmars

Error in Class.addMethods doc example

Reported by martin overmars | August 25th, 2008 @ 08:07 AM

Hi there,

at http://www.prototypejs.org/api/c... the doc tells you to write " $super(name, 'hissssssssss');" on contrary to http://www.prototypejs.org/api/c... (which shows the same part of the function)

I guess it has to be: '$super(name);'

When learning to work with classes, which i'm trying, it might be confusing =D

thank you, martin

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

Pages