docs(tutorial): fix typo (slowy -> slowly)

closes #1332
This commit is contained in:
Dmitri Suvorov 2016-05-09 19:05:50 +03:00 committed by Ward Bell
parent 064936012f
commit 33745ec220
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ code-example(format="." language="html").
We can simulate a slow connection.
Import the `Hero` symbol and add the following `getHeroesSlowly` method to the `HeroService`
+makeExample('toh-4/ts/app/hero.service.ts', 'get-heroes-slowly', 'hero.service.ts (getHeroesSlowy)')(format=".")
+makeExample('toh-4/ts/app/hero.service.ts', 'get-heroes-slowly', 'hero.service.ts (getHeroesSlowly)')(format=".")
:marked
Like `getHeroes`, it also returns a promise.
But this promise waits 2 seconds before resolving the promise with mock heroes.