Re: [sensors] When there are multiple sensors of a given type, how do we identify which one to instantiate?

> Johnny-Five is already being used in a similar application, but the 
difference is that the programmers working on the project are doing so
 in the presence of the vehicle.

@rwaldron: I understand your concerns. Maybe this warrants a note in 
the security section or some such. Can you file an issue for this if 
you feel it should be mentioned?

> Subjectively, list > getAll.

Favoring consistency over elegance here. `getAll` and now `matchAll` 
are used in [ServiceWorker][1], [URL][2], and [Fetch][3] specs for 
similar cases.

[1]: 
https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#clients-matchall-method
[2]: https://url.spec.whatwg.org/#dom-urlsearchparams-getallname
[3]: https://fetch.spec.whatwg.org/#dom-headers-getall

-- 
GitHub Notif of comment by tobie
See https://github.com/w3c/sensors/issues/26#issuecomment-109931182

Received on Monday, 8 June 2015 09:39:47 UTC