W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] URL: URLQuery

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 30 Nov 2012 10:28:46 -0800
Message-ID: <CAAWBYDA=vExdzKtDmZ1q09eWS191WKcrEkVLZ9Vr4-YO1XdwWA@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@whatwg.org>
On Fri, Nov 30, 2012 at 9:47 AM, 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 :-)

Map#set returning the map is already in the draft, and there are no
plans to change it.

~TJ
Received on Friday, 30 November 2012 20:12:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT