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

Commit 21de588

Browse files
committed
docs(style-guide): fix some typos
1 parent 596825a commit 21de588

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

public/docs/ts/latest/guide/style-guide.jade

+4-8
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ a(href="#toc") Back to top
836836

837837
.s-why.s-why-last
838838
:marked
839-
**Why?** We find this to be super important for a project. If we cannot find the files we need to work on quickly, we will not be able to work as efficiently as possible, and the structure needs to change. We may not know the file name or where its related files are, so putting them in the most intuitive locations and near each other saves a ton of time. A descriptive folder structure can help with this.
839+
**Why?** We find this to be super important for a project. If we cannot find the files we need to work on quickly, we will not be able to work as efficiently as possible, and the structure will need to change. We may not know the file name or where its related files are, so putting them in the most intuitive locations and near each other saves a ton of time. A descriptive folder structure can help with this.
840840

841841
a(href="#toc") Back to top
842842

@@ -852,15 +852,15 @@ a(href="#toc") Back to top
852852

853853
.s-rule.do
854854
:marked
855-
**Do** be descriptive with file names and keeping the contents of the file to exactly one component.
855+
**Do** be descriptive with file names and keep the contents of the file to exactly one component.
856856

857857
.s-rule.avoid
858858
:marked
859859
**Avoid** files with multiple components, multiple services, or a mixture.
860860

861861
.s-why.s-why-last
862862
:marked
863-
**Why?** We spend less time hunting and pecking for code, and become more efficient. If this means we want longer file names, then so be it.
863+
**Why?** We spend less time hunting and peeking for code, and become more efficient. If this means we want longer file names, then so be it.
864864

865865
.l-sub-section
866866
:marked
@@ -1876,7 +1876,7 @@ a(href="#toc") Back to top
18761876

18771877
.s-why.s-why-last
18781878
:marked
1879-
**Why?** We avoid unintentionally not calling the hook if we misspell the method.
1879+
**Why?** We avoid unintentionally not calling the hook if we misspelled the method.
18801880

18811881
+makeExample('style-guide/ts/09-01/app/heroes/shared/hero-button/hero-button.component.avoid.ts', 'example', 'app/heroes/shared/hero-button/hero-button.component.ts')(avoid=1)
18821882
:marked
@@ -1920,10 +1920,6 @@ a(href="#toc") Back to top
19201920
:marked
19211921
**Why?** A component that handles routing is known as the component router, thus this follows the Angular 2 routing pattern.
19221922

1923-
.s-why
1924-
:marked
1925-
**Why?** A component that handles routing is known as the componenter router.
1926-
19271923
.s-why.s-why-last
19281924
:marked
19291925
**Why?** The `<router-outlet>` indicates where the template should be displayed for the target route.

0 commit comments

Comments
 (0)