Skip to content

Commit b60ac94

Browse files
committed
Merge pull request johnpapa#7 from soddarkangel/patch-1
Fixed a couple typos. sweet!
2 parents ec4e927 + 43b019d commit b60ac94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ Many of my styles have been from the many pair programming sessions [Ward Bell](
460460
461461
*Why?*: This is especially helpful when the file gets longer as it helps avoid the need to scroll to see what is exposed.
462462
463-
*Why?*: Setting functions as you go can be easy, but when those functions are more than 1 line of code they can reduce the readability and cause more scrolling. Defining the callable interface via the returned service moves moves the implementation details down, keeps the callable interface up top, and makes it easier to read.
463+
*Why?*: Setting functions as you go can be easy, but when those functions are more than 1 line of code they can reduce the readability and cause more scrolling. Defining the callable interface via the returned service moves the implementation details down, keeps the callable interface up top, and makes it easier to read.
464464
465465
466466
```javascript
@@ -783,11 +783,11 @@ TODO
783783
784784
- **$document and $window**: Use `$document` and `$window` instead of `document` and `window`.
785785
786-
*Why?*: These services are wrapped by Angular and more easily testable than using document and window in tests. This help syou avoid having to mock document and window yourself.
786+
*Why?*: These services are wrapped by Angular and more easily testable than using document and window in tests. This helps you avoid having to mock document and window yourself.
787787
788788
- **$timeout and $interval**: Use `$timeout` and `$interval` instead of `setTimeout` and `setInterval` .
789789
790-
*Why?*: These services are wrapped by Angular and more easily testable and handle AngularJS's digest cycle thus keeping data binding in synch.
790+
*Why?*: These services are wrapped by Angular and more easily testable and handle AngularJS's digest cycle thus keeping data binding in sync.
791791
792792
**[Back to top](#table-of-contents)**
793793

0 commit comments

Comments
 (0)