| 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'));",
|
| + " */"
|
| + ]
|
| + }
|
| }
|
| }
|
| -}
|
| +}
|
|
|