This project is archived and is in readonly mode.

#250 ✓resolved

Binds mutator overwrites previous binds

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

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 I use MooTools-core 1.2.4 and MooTools-more

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

People watching this ticket


Referenced by