On May 30, 2006, at 4:56 PM, Josu Oyanguren wrote:

> javascript does not support named arguments. You can change the line to
>
> getElementsByTagAndClassName('A',null,'t_tablist');

Oh, right of course. I'm too used to using named arguments from python 
to remember something that silly!
Plus, the doc uses the python-like syntax to indicate optional 
arguments, i.e.

getElementsByTagAndClassName(tagName, className, parent=document):

making it even harder to remember such js-idio-t-syncracies....

m.


--~--~---------~--~----~------------~-------~--~----~
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