Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Unified Diff: src/site/_includes/library-tour/html-websockets.markdown

Issue 10910215: fix bugs in docs (Closed) Base URL: git@github.com:dart-lang/dartlang.org.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/site/articles/improving-the-dom/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/_includes/library-tour/html-websockets.markdown
diff --git a/src/site/_includes/library-tour/html-websockets.markdown b/src/site/_includes/library-tour/html-websockets.markdown
index c794f35f3a77442392c6b91cfc73ac30b363ba43..5c356bcb2fd7fafa2c4c6c51a0d70a91f6f04071 100644
--- a/src/site/_includes/library-tour/html-websockets.markdown
+++ b/src/site/_includes/library-tour/html-websockets.markdown
@@ -77,7 +77,7 @@ connectToWebSocket([int retrySeconds = 2]) {
webSocket = new WebSocket(url);
webSocket.on.message.add((e) {
- receivedMessage(e.data);
+ receivedMessage((e as MessageEvent).data);
});
webSocket.on.open.add((e) {
« no previous file with comments | « no previous file | src/site/articles/improving-the-dom/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698