Re: [vibration] Preliminary thoughts on the vibrator spec

[ + public-device-apis ]

Hi Justin, All,

On 26.1.2012, at 18.07, ext Justin Lebar wrote:

>> I updated the spec and dropped null. Now we should throw if other than unsigned long or unsigned long[] is passed.
> 
> It looks like the spec still has |optional| in front of the
> time/pattern arguments.  Don't we want to get rid of this?

I believe we ought to be able to get rid of the optional keywords now, so I dropped them from the spec.

> We should probably also get rid of the big comment taken from
> Mozilla's source.  It's only serving to confuse people (e.g. [1]).

Yes indeed. I removed the comment.

Thanks!

-Anssi

> [1] http://hacks.mozilla.org/2012/01/using-the-vibrator-api-part-of-webapi/comment-page-1/#comment-1316174

Received on Wednesday, 1 February 2012 09:35:52 UTC