- From: Kostiainen, Anssi <anssi.kostiainen@intel.com>
- Date: Mon, 6 May 2013 18:15:21 +0000
- To: Anne van Kesteren <annevk@annevk.nl>
- CC: Justin Lebar <justin.lebar@gmail.com>, "public-device-apis@w3.org" <public-device-apis@w3.org>
On May 6, 2013, at 8:42 PM, Anne van Kesteren <annevk@annevk.nl> wrote: > On Mon, May 6, 2013 at 5:14 AM, Kostiainen, Anssi > <anssi.kostiainen@intel.com> wrote: >> Re making the method variadic, are you thinking of a use case concerning N number of actuators or something else? I don't think we're too late if there's a good use case. > > It's a different API style more aligned with ES6. However it probably > is too late (unless we want to make Gecko's implementation > non-conforming). We started using this in the DOM, e.g. node.append(x, > y, z) rather than node.append([x,y,z]). Ok, I see. In that case I'd suggest we do not go variadic with this API to keep Gecko's implementation conforming. (As a general comment, it is great to see modern API style being adopted on the web platform. Thanks for pushing!) -Anssi
Received on Monday, 6 May 2013 18:15:52 UTC