Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8a28070

Browse files
author
laco0416
committed
fix(docs): fix typo 'ngOnit'
1 parent b992c55 commit 8a28070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/docs/ts/latest/guide/lifecycle-hooks.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ figure.image-display
379379
.l-sub-section
380380
:marked
381381
Our first opportunity to access those properties is the `ngOnChanges` method which
382-
Angular calls before `ngOnit`. But Angular calls `ngOnChanges` many times after that.
383-
It only calls `ngOnit` once.
382+
Angular calls before `ngOnInit`. But Angular calls `ngOnChanges` many times after that.
383+
It only calls `ngOnInit` once.
384384
:marked
385385
### OnDestroy
386386

0 commit comments

Comments
 (0)