docs(style-guide): a few fixes (#3534)

This commit is contained in:
Jesús Rodríguez 2017-04-12 20:54:37 +02:00 committed by Ward Bell
parent 3239ebca8d
commit 1603cbbc98
1 changed files with 3 additions and 3 deletions

View File

@ -1371,9 +1371,9 @@ a(href="#toc") Back to top
**Consider** using the name SharedModule when the contents of a shared **Consider** using the name SharedModule when the contents of a shared
module are referenced across the entire application. module are referenced across the entire application.
.s-rule.do .s-rule.avoid
:marked :marked
**Do** not provide services in shared modules. Services are usually **Avoid** providing services in shared modules. Services are usually
singletons that are provided once for the entire application or singletons that are provided once for the entire application or
in a particular feature module. in a particular feature module.
@ -1785,7 +1785,7 @@ a(href="#toc") Back to top
**Do** use the `@Input()` and `@Output()` class decorators instead of the `inputs` and `outputs` properties of the **Do** use the `@Input()` and `@Output()` class decorators instead of the `inputs` and `outputs` properties of the
`@Directive` and `@Component` metadata: `@Directive` and `@Component` metadata:
.s-rule.do .s-rule.consider
:marked :marked
**Consider** placing `@Input()` or `@Output()` on the same line as the property it decorates. **Consider** placing `@Input()` or `@Output()` on the same line as the property it decorates.