- From: Shih-Chiang Chien via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Jun 2016 03:31:51 +0000
- To: public-secondscreen@w3.org
schien has just created a new issue for
https://github.com/w3c/presentation-api:
== mismatch onconnectionavailable handling for receiver in sample code
==
In
https://w3c.github.io/presentation-api/#monitor-available-connection-s-and-say-hello,
```
list.onconnectionavailable = function (connections) {
addConnection(connections[connections.length - 1]);
};
```
should be correct as
```
list.onconnectionavailable = function (evt) {
addConnection(evt.connection);
};
```
Please view or discuss this issue at
https://github.com/w3c/presentation-api/issues/313 using your GitHub
account
Received on Wednesday, 1 June 2016 03:31:53 UTC