Hi all,

The latest Fx4 beta is out, and it seems to have broken MooTools somewhat, although I can't quite work out why. In the method Element.addClass, the error "(this.className + ' ' + className).clean is not a function" is thrown.

Now, the really strange thing is that when I do some logging in that method, the output looks something like this:

08:15:52| addClass this.className: item
08:15:52| addClass className: selected
08:15:52| addClass this.className + " " + className: item selected
08:15:52| addClass (this.className + " " + className).clean: function()
(X) (this.className + " " + className).clean is not a function
dbug.log('addClass', ' (this.classNa...lassName + " " + className).clean());

I'm a little bit baffled how in one line it can say that it's a function, but when you try to call it, declare that it isn't... clean() itself doesn't seem to be broken -- 'alpha'.clean() works fine.

Any thoughts? I'm going to post this to a Mozilla mailing list as well, because I'm not sure if it's MooTools or Firefox that's at fault here.

(If it makes a difference, I'm running the Linux version of Fx4b8 -- I'll trying firing up my XP VM and checking if that's also broken.)

--
Barry van Oudtshoorn
www.barryvan.com.au

Not sent from my Apple ?Phone.

Reply via email to