Window != window window.addEvent...
not Window.addEvent On Tue, Apr 21, 2009 at 12:48 PM, SmoL (via Nabble) < [email protected]<ml-user%[email protected]> > wrote: > I am using Mootools 1.1 in my project but now i want to upgrade to 1.2 and > i imediately found a problem in mootools 1.2 and FF3 and IE7 > (7.0.6001.18000) > > this simple html code: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > <head> > <title>Mootools 1.2 Test</title> > <script type="text/javascript" src="js/mootools-1.2.1-core-nc.js"></script> > > <script type="text/javascript"> > Window.addEvent('domready', function() { > }); > </script> > </head> > <body> > TEST > </body> > </html> > > > gives me an error at: > > Error: this.retrieve is not a function > Source File: http://localhost/docbweb/js/mootools-1.2.1-core-nc.js > Line: 1942 > > the line is this one: > > var events = this.retrieve('events', {}); > > > is there any solution to this? i already tested the edge version and the > error remains > > ------------------------------ > View message @ > http://n2.nabble.com/-Moo--this.retrieve-is-not-a-function-%28FF3-and-IE7%29-tp2671190p2671190.html > To start a new topic under MooTools Users, email > [email protected]<ml-node%[email protected]> > To unsubscribe from MooTools Users, click here< (link removed) >. > > > ----- The MooTools Tutorial: http://www.mootorial.com www.mootorial.com Clientcide: http://www.clientcide.com www.clientcide.com -- View this message in context: http://n2.nabble.com/-Moo--this.retrieve-is-not-a-function-%28FF3-and-IE7%29-tp2671190p2672112.html Sent from the MooTools Users mailing list archive at Nabble.com.
