I'm developing some "more complex" javascript stuff using Mootools.
I'm trying to take advantage of Mootools Classes. I pretty much
develop in Firefox to take advantage of firebug. I just started
testing in IE and I'm seeing some weird results. I'm running IE 7 in a
windows XP VM on Mac so perhaps that's the problem... IE 8 RC1 seems
to work ok but IE 6 also doesn't work.

Here's what I'm seeing..

<script type="text/javascript" src="http://cof.com/mootools-1.2.1-core-
nc.js"></script>
<script>
        var c = new Class({
                foo3 : "xx",
        });
        v = new c();
        alert(v.foo3);
</script>

Result.. Nothing happens..

However, if I remove the comma all the sudden it starts working..

I'm seeing some other weird stuff in IE7. Just curious if anyone has
thoughts/experience on mootools and IE.

Reply via email to