This project is archived and is in readonly mode.

#1088 ✓wontfix
Wouter

Accessing this.constructor from parent classes - change 1.2 / 1.3

Reported by Wouter | November 14th, 2010 @ 02:43 AM | in 1.3.1 (closed)

Run http://www.jsfiddle.net/u3far/ with MooTools 1.2 and MooTools 1.3

In 1.2, this.constructor() refers to the constructor of calling object.

In 1.3, this.constructor() refers to the constructor of the parent object.

Any other way to access the constructor of the calling 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 »

Shared Ticket Bins

Pages