Skip to content

Commit 0f57587

Browse files
Mike LubyMike Luby
authored andcommitted
typofix
1 parent 9c4c272 commit 0f57587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
729729
### Accessible Members Up Top
730730
###### [Style [Y052](#style-y052)]
731731
732-
- Expose the callable members of the service (it's interface) at the top, using a technique derived from the [Revealing Module Pattern](http://addyosmani.com/resources/essentialjsdesignpatterns/book/#revealingmodulepatternjavascript).
732+
- Expose the callable members of the service (its interface) at the top, using a technique derived from the [Revealing Module Pattern](http://addyosmani.com/resources/essentialjsdesignpatterns/book/#revealingmodulepatternjavascript).
733733
734734
*Why?*: Placing the callable members at the top makes it easy to read and helps you instantly identify which members of the service can be called and must be unit tested (and/or mocked).
735735
@@ -1119,7 +1119,7 @@ While this guide explains the *what*, *why* and *how*, I find it helpful to see
11191119
### Restrict to Elements and Attributes
11201120
###### [Style [Y074](#style-y074)]
11211121
1122-
- When creating a directive that makes sense as a stand-alone element, allow restrict `E` (custom element) and optionally restrict `A` (custom attribute). Generally, if it could be its own control, `E` is appropriate. General guideline is allow `EA` but lean towards implementing as an element when its stand-alone and as an attribute when it enhances its existing DOM element.
1122+
- When creating a directive that makes sense as a stand-alone element, allow restrict `E` (custom element) and optionally restrict `A` (custom attribute). Generally, if it could be its own control, `E` is appropriate. General guideline is allow `EA` but lean towards implementing as an element when it's stand-alone and as an attribute when it enhances its existing DOM element.
11231123
11241124
*Why?*: It makes sense.
11251125

0 commit comments

Comments
 (0)