Skip to content

Commit b89b18b

Browse files
authored
debug EXAMPLE 6 (#513)
1 parent 6be775a commit b89b18b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,9 @@ <h3>
656656
&lt;!-- presentation.html --&gt;
657657
&lt;script&gt;
658658
var addConnection = function(connection) {
659-
this.onmessage = function (message) {
659+
connection.onmessage = function (message) {
660660
if (message.data == "say hello")
661-
this.send("hello");
661+
connection.send("hello");
662662
};
663663
};
664664

0 commit comments

Comments
 (0)