docs(toh5): fix indentation on a method

closes #921
This commit is contained in:
Foxandxss 2016-03-07 19:05:20 +01:00 committed by Ward Bell
parent 2e6c57e770
commit 3692d05c34
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export class HeroService {
}
//#docregion get-hero
getHero(id: number) {
getHero(id: number) {
return Promise.resolve(HEROES).then(
heroes => heroes.filter(hero => hero.id === id)[0]
);