| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index f083b43447529184610b33d2b28649e32676c768..b20dd2cde7f31c7808c4da229b66cad98ef232fd 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -12969,8 +12969,10 @@ class HttpRequest extends EventTarget native "XMLHttpRequest" {
|
| * 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
|
| *
|
|
|