Seems to work fine: http://jsfiddle.net/u5ZYX/

Not sure what you're doing different...

On Sat, Feb 19, 2011 at 12:12 AM, Oren <[email protected]> wrote:

> Hey guys- It seems that in
>
> var Cat = new Class({
>    Extends: Animal,
>    initialize: function(name, age){
>        this.parent(age); // calls initalize method of Animal class
>        this.name = name;
>    }
> });
>
> from http://mootools.net/docs/core/Class/Class
>
> the "this.parent()" function throws an "Object doesn't support this
> property or method" error in IE7 and 8.
>
> Anyone know how to get around this?
>
> I appreciate it.
>
> Oren

Reply via email to