On Jan 31, 2008 5:08 PM, Mark Filipak <[EMAIL PROTECTED]> wrote:
> What I have to write now:
> getFirstChildOfElementWithTagName(Papa, 'baby');
If you're not writing something like $("baby:first", Papa), you're
missing out on what the language already has to offer.
-j
__
On Feb 1, 2008, at 5:28 PM, Mark Filipak wrote:
> Mr. Eich: Thank you for your suggestion. Unless I've been spending
> time with Mescalito, to implement
>
> getFirstChildOfElement(Papa).withTagName('baby'),
>
> since it has no idea which child is targeted, the first function
> would have to
Mr. Eich: Thank you for your suggestion. Unless I've been spending time with
Mescalito, to implement
getFirstChildOfElement(Papa).withTagName('baby'),
since it has no idea which child is targeted, the first function would have to
return an array of all children. Thus .withTagName() would have
On Feb 1, 2008 12:01 PM, Brendan Eich <[EMAIL PROTECTED]> wrote:
> On Jan 31, 2008, at 5:13 PM, Mark Filipak wrote:
>
> > What I have to write now:
> >
> > getFirstChildOfElementWithTagName(Papa, 'baby');
> >
> > What I'd like to be able to write:
> >
> > getFirstChildOfElement(Papa)withTagName('
On Jan 31, 2008, at 5:13 PM, Mark Filipak wrote:
> Hello,
>
> (Sorry. What I meant to write is below.)
>
> May I make a pitch for an expanded function syntax? This example will
> say it all (I hope).
>
> What I have to write now:
>
> getFirstChildOfElementWithTagNa
sense for a lot of functions. I
> > couldn't quite decipher your objective: would either (or both
> > together) of named arguments or method overloading do what you want?
> >
> > Peter
> >
> >
> >
> > On Feb 1, 2008 1:13 AM, Mark Filipak <[
Hello,
(Sorry. What I meant to write is below.)
May I make a pitch for an expanded function syntax? This example will
say it all (I hope).
What I have to write now:
getFirstChildOfElementWithTagName(Papa, 'baby');
What I'd like to be able to write:
getFirstChildOfElement(P
Hello,
May I make a pitch for an expanded function syntax? This example will
say it all (I hope).
What I have to write now:
getFirstChildOfElementWithTagName(Papa, 'baby');
What I'd like to be able to write:
getFirstChildOfElement(myPapa)withTagName('