| 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 0cf52e56c103e954a9d1f4a5373eaf4cfa460e19..73329ac89498f4c39576a4baea33171ae5f99cc4 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -12377,7 +12377,7 @@ class HttpRequest extends EventTarget native "XMLHttpRequest" {
|
| *
|
| * var request = new HttpRequest();
|
| * request.open('GET', 'http://dartlang.org')
|
| - * request.onLoad.add((event) => print('Request complete'));
|
| + * request.onLoad.listen((event) => print('Request complete'));
|
| *
|
| * is the (more verbose) equivalent of
|
| *
|
|
|