docs(server-communication): Fetch API does not belong to ECMAScript

closes #2107
Fetch API is a Web API, has its own specification. ECMAScript is the specification of the JavaScript language, nothing to do with Web API.
This commit is contained in:
Trotyl Yu 2016-08-13 19:41:06 +08:00 committed by Ward Bell
parent 172e497fec
commit 128915d6c3

View File

@ -265,7 +265,7 @@ block parse-json
.l-sub-section .l-sub-section
:marked :marked
This is not Angular's own design. This is not Angular's own design.
The Angular HTTP client follows the ES2015 specification for the The Angular HTTP client follows the Fetch specification for the
[response object](https://fetch.spec.whatwg.org/#response-class) returned by the `Fetch` function. [response object](https://fetch.spec.whatwg.org/#response-class) returned by the `Fetch` function.
That spec defines a `json()` method that parses the response body into a JavaScript object. That spec defines a `json()` method that parses the response body into a JavaScript object.