On May 30, 2006, at 8:12 AM, mario ruggier wrote:
> > > 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.... It's a pretty standard way to indicate optional arguments that have defaults... -bob --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---