I'm having trouble using MochiKit with a Gadget I'm writing for the iGoogle interface. Specifically, even the inclusion of the MochiKit.js file (via a SCRIPT tag) seems to break otherwise- functional Gadgets in IE6 or (more seriously) IE7. (Other browsers seem fine.)
Here's what I'm seeing: 1.) I create a Gadget that *doesn't* depend on MochiKit 2.) The Gadget works (i.e. it renders properly on load, which involves JS building up the DOM) 3.) I add a SCRIPT tag to the Gadget to import MochiKit.js 4.) The Gadget breaks (i.e. it won't render properly on load 90% of the time) Some clarifications: a.) The Gadget has an "html" Content Type (To clarify the clarification: "Content Type" refers to the parameter in Google's Gadget XML spec, not the HTML Header.) b.) This happens even if I include the "MochiKit={__export__:false};" line at the top of MochKit.js, which should suppess symbol export. c.) Again, the Gadget isn't making any use of MochiKit, it's just trying to import the JavaScript. d.) The failure is intermittent, but I've never seen it fail w/o the MochiKit include, and it fails ~90% of the time with the include, so I feel pretty sure the two are related. My question: "Is this a known problem? Has anyone else had experiences, good or bad, with IE6 or IE7 compatibility when using MochiKit to develop Google Gadgets?" Thanks for reading. If you're interested, the XML for the Gadget I am using for testing can be fetched here: http://www.house-o-games.com/neknek/gadgets/neknek.xml (The failure occurs in the "canvas" view".) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to mochikit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---