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

Unified Diff: tools/dom/docs/docs.json

Issue 23134003: More clean up for HttpRequest docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/docs/docs.json
diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json
index eb0de6552ff0e4d09d3c4a66978323b0dce49648..32995772b7c2b001d1085296366286b13c9faf70 100644
--- a/tools/dom/docs/docs.json
+++ b/tools/dom/docs/docs.json
@@ -600,8 +600,10 @@
" * This call is used in conjunction with [open]:",
" *",
" * var request = new HttpRequest();",
- " * request.open('GET', 'http://dartlang.org')",
- " * request.onLoad.listen((event) => print('Request complete'));",
+ " * request.open('GET', 'http://dartlang.org');",
+ " * request.onLoad.listen((event) => print(",
+ " * 'Request complete ${event.target.reponseText}'));",
+ " * request.send();",
" *",
" * is the (more verbose) equivalent of",
" *",
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698