Re: [whatwg] URL: URLQuery

On Fri, Nov 30, 2012 at 12:47 PM, Anne van Kesteren <annevk@annevk.nl>wrote:

> On Fri, Nov 30, 2012 at 6:42 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
> > Only feedback left is the return types of set(), append(), and delete().
> >
> > In Maps, set() returns the map, so you can chain more easily.  TC39
> > hasn't yet made delete() return the map, but they plan to (baby steps,
> > apparently, but us jumping on it will help).  Obviously, append()
> > should match set().
>
> Right, once I have a definitive answer to
>
> http://lists.w3.org/Archives/Public/public-script-coord/2012OctDec/0164.html
> I will update a bunch of APIs to use chaining (assuming the answer is
> that yes, this is the plan). I'm not really a fan of the style myself
> so I'm not sure I want to be the one to push TC39 :-)
>

The definitive answer is that we discussed this at the TC39 in-person this
past week and the collection mutation methods will return |this|. I will be
publishing the meetings notes on Monday and the next draft will reflect
these changes

Rick




>
>
> --
> http://annevankesteren.nl/
>

Received on Saturday, 1 December 2012 19:56:08 UTC