Chromium Code Reviews| Index: tools/dom/docs/docs.json |
| diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json |
| index a772b84da8ec4946bee0d6b0ffcfd5e39ccb2feb..6ff8db45e094cfcf605029d34be17d91356e0384 100644 |
| --- a/tools/dom/docs/docs.json |
| +++ b/tools/dom/docs/docs.json |
| @@ -210,6 +210,25 @@ |
| "/// The width of this canvas element in CSS pixels." |
| ] |
| } |
| + }, |
| + "XMLHttpRequest": { |
| + "members": { |
| + "XMLHttpRequest": [ |
| + "/**", |
| + " * General constructor for any type of request (GET, POST, etc).", |
| + " *", |
| + " * This call is used in conjunction with [open]:", |
| + " *", |
| + " * var request = new HttpRequest();", |
| + " * request.open('GET', 'http://dartlang.org')", |
| + " * request.on.load.add((event) => print('Request complete'));", |
| + " *", |
| + " * is the (more verbose) equivalent of", |
| + " *", |
| + " * var request = new HttpRequest.get('http://dartlang.org', (event) => print('Request complete'));", |
|
blois
2013/01/31 20:45:28
Note that this API is going away (see recent mail
Andrei Mouravski
2013/01/31 23:03:40
When it goes in, the docs should also change.
blois
2013/01/31 23:10:25
It went in a half hour ago.
|
| + " */" |
| + ] |
| + } |
| } |
| } |
| -} |
| +} |