This commit is contained in:
dk 2017-03-20 19:27:26 +08:00 committed by GitHub
parent a3364d89e3
commit 2da1a2d84f
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ block observables-section-intro
+ifDocsFor('ts')
:marked
A more important difference: we no longer call `toPromise`.
Instead we return the *observable* from the the `htttp.get`,
Instead we return the *observable* from the the `http.get`,
after chaining it to another RxJS operator, <code>map</code>,
to extract heroes from the response data.