W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > August 2016

Re: [web-bluetooth] Treat sites as not bonded to their devices.

From: François Beaufort via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Aug 2016 06:43:58 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-240326969-1471416235-sysbot+gh@w3.org>
@jyasskin `d.gatt.connect()` returns a GATT Server instance. Did you 
mean?

```diff
-      .then(d => device = d.gatt.connect());
+      .then(d => { device = d; return device.gatt.connect() });
````


-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/pull/273#issuecomment-240326969
 using your GitHub account
Received on Wednesday, 17 August 2016 06:44:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 17 August 2016 06:44:05 UTC