| Index: tools/dom/docs/docs.json
|
| diff --git a/tools/dom/docs/docs.json b/tools/dom/docs/docs.json
|
| index a8c16aa29366a7fc115e2c05033feeb9f069f5b1..89087ea78dcce4d6570073e8a86a7bf6fedc6eb9 100644
|
| --- a/tools/dom/docs/docs.json
|
| +++ b/tools/dom/docs/docs.json
|
| @@ -104,7 +104,7 @@
|
| "/// Deprecated: use new Element.tag(tagName) instead."
|
| ],
|
| "createTouchList": [
|
| - "/// Use the [TouchList] constructor isntead."
|
| + "/// Use the [TouchList] constructor instead."
|
| ],
|
| "getCSSCanvasContext": [
|
| "/// Moved to [HtmlDocument]."
|
| @@ -288,6 +288,40 @@
|
| " * of [common MIME types](http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types)",
|
| " */"
|
| ],
|
| + "readyState": [
|
| + "/**",
|
| + " * Indicator of the current state of the request:",
|
| + " *",
|
| + " * <table>",
|
| + " * <tr>",
|
| + " * <td>Value</td>",
|
| + " * <td>State</td>",
|
| + " * <td>Meaning</td>",
|
| + " * </tr>",
|
| + " * <tr>",
|
| + " * <td>0</td>",
|
| + " * <td>unsent</td>",
|
| + " * <td><code>open()</code> has not yet been called</td>",
|
| + " * </tr>",
|
| + " * <tr>",
|
| + " * <td>1</td>",
|
| + " * <td>opened</td>",
|
| + " * <td><code>send()</code> has not yet been called</td>",
|
| + " * </tr>",
|
| + " * <tr>",
|
| + " * <td>2</td>",
|
| + " * <td>headers received</td>",
|
| + " * <td><code>sent()</code> has been called; response headers and <code>status</code> are available</td>",
|
| + " * </tr>",
|
| + " * <tr>",
|
| + " * <td>3</td> <td>loading</td> <td><code>responseText</code> holds some data</td>",
|
| + " * </tr>",
|
| + " * <tr>",
|
| + " * <td>4</td> <td>done</td> <td>request is complete</td>",
|
| + " * </tr>",
|
| + " * </table>",
|
| + " */"
|
| + ],
|
| "response": [
|
| "/**",
|
| " * The data received as a reponse from the request.",
|
| @@ -314,6 +348,15 @@
|
| " * See also: [MDN responseType](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#responseType)",
|
| " */"
|
| ],
|
| + "responseXML": [
|
| + "/**",
|
| + " * The request response, or null on failure.",
|
| + " *",
|
| + " * The response is processed as",
|
| + " * `text/xml` stream, unless responseType = 'document' and the request is",
|
| + " * synchronous.",
|
| + " */"
|
| + ],
|
| "send": [
|
| "/**",
|
| " * Send the request with any given `data`.",
|
| @@ -361,7 +404,8 @@
|
| " *",
|
| " * is the (more verbose) equivalent of",
|
| " *",
|
| - " * var request = new HttpRequest.get('http://dartlang.org', (event) => print('Request complete'));",
|
| + " * var request = new HttpRequest.get('http://dartlang.org',",
|
| + " * (event) => print('Request complete'));",
|
| " */"
|
| ]
|
| }
|
|
|