This project is archived and is in readonly mode.

#250 ✓ resolved
Rayman

Binds mutator overwrites previous binds

Reported by Rayman | February 10th, 2010 @ 08:09 PM | in 1.3.2.1

When you create a class that overwrites an other class, the binds of the parent don't get applied. In the attached file I have an example. You can view this example in MooShell at http://mootools.net/shell/gQznR/ I use MooTools-core 1.2.4 and MooTools-more 1.2.4.4.

When you click on the link, the output is:

Log from baseclass, $type(this) == element
Log from newClass, $type(this) == object

They should both be 'object', cause they should refer to the class itself (which is an object).

Comments and changes to this ticket

Create your profile

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

The MooTools Extensions

Shared Ticket Bins

People watching this ticket

Attachments

Referenced by

Pages