Re: Vibration: throwing and pause

On Tue, Apr 16, 2013 at 9:14 AM, Justin Lebar <justin.lebar@gmail.com> wrote:
> I don't think we want to return false when the pattern is 0, the empty
> list, or if the device doesn't support vibration.  At the very least,
> this exposes to pages whether the device supports vibration, which I
> thought was something we wanted to avoid.  But also, vibrate([])
> "succeeds" if it gets to step (9), so it should return true, I think.

It seems better to expose that via the API than have developers rely
on UA-sniffing.


--
http://annevankesteren.nl/

Received on Tuesday, 16 April 2013 08:58:10 UTC