W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > June 2015

[web-bluetooth] Pull Request: Expose all interfaces with user-visible instances, and make sure they start with "Bluetooth".

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 Jun 2015 23:21:50 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <pull_request.opened-37206183-1433805710-sysbot+gh@w3.org>
jyasskin has just submitted a new pull request for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Expose all interfaces with user-visible instances, and make sure 
they start with "Bluetooth". ==
This allows users to add helper functions to their prototypes without 
getting an
object first. This spec claims the window.Bluetooth* namespace.

I've included `Bluetooth`, the type of `navigator.bluetooth`, for 
symmetry, even though users can just modify `navigator.bluetooth` 
directly.

Demo at 
https://rawgit.com/jyasskin/web-bluetooth-1/expose-the-right-interfaces/index.html.

See https://github.com/WebBluetoothCG/web-bluetooth/pull/129
Received on Monday, 8 June 2015 23:21:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 8 June 2015 23:21:52 UTC