W3C home > Mailing lists > Public > public-device-apis@w3.org > May 2013

Re: Vibration: throwing and pause

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>
Message-ID: <774EC117-CE10-45D4-A625-3E873C8D17CB@intel.com>
On May 6, 2013, at 8:42 PM, Anne van Kesteren <annevk@annevk.nl>

> 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!)

Received on Monday, 6 May 2013 18:15:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:59 UTC