On May 30, 2006, at 10:44 AM, Michael Schall wrote:

>
> I just updated my code to the current revision and it seems to have
> broken some of the dom functions.  If I use a slightly modified string
> of the DOM documentation and evaluate:
>
> MochiKit.DOM.TABLE({'class': 'prettytable'},
> MochiKit.DOM.THEAD(null,          MochiKit.DOM.TH()),
> MochiKit.DOM.TFOOT(null,          MochiKit.DOM.TD()),
> MochiKit.DOM.TBODY(null,          MochiKit.DOM.TD())).outerHTML
>
> I get
> <TABLE class=prettytable>[object],[object],[object]</TABLE>
> instead of
> <TABLE class=\"prettytable\"><THEAD><TH></TH></THEAD><TFOOT><TD></ 
> TD></TFOOT><TBODY><TD></TD></TBODY></TABLE>
>
> The interpreter on MochiKit's site returns the correct string however.
>  Is the interpreter using the latest code?  Can anyone else confirm
> this?  I'm seeing the same thing in my code so I tried the simple
> example above and got the same results.  If I revert back to my last
> update of MochiKit, everything is fine.

The interpreter is always using the latest version of the code, and  
you can verify that by also trying it in the local copy of the  
interpreter shipped with MochiKit in the examples folder. Something  
else is wrong on your end, and there isn't enough information in your  
email to determine what that might be.

-bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to