- From: You Kinjoh via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Dec 2022 01:11:12 +0000
- To: public-secondscreen@w3.org
youkinjoh has just submitted a new pull request for https://github.com/w3c/presentation-api:
== debug `EXAMPLE 6` ==
`this` variable pointed `window` object in this context.
```js
var addConnection = function(connection) {
this.onmessage = function (message) {
if (message.data == "say hello")
this.send("hello");
};
};
```
See https://github.com/w3c/presentation-api/pull/513
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 December 2022 01:11:14 UTC