Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d577c5d

Browse files
iffyIgorMinar
authored andcommitted
docs: fix typos
1 parent a4dd149 commit d577c5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Angular.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ function sliceArgs(args, startIndex) {
674674
*
675675
* @description
676676
* Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for
677-
* `fn`). You can supply optional `args` that are are prebound to the function. This feature is also
677+
* `fn`). You can supply optional `args` that are prebound to the function. This feature is also
678678
* known as [function currying](http://en.wikipedia.org/wiki/Currying).
679679
*
680680
* @param {Object} self Context which `fn` should be evaluated in.
@@ -1006,7 +1006,7 @@ function bindJQuery() {
10061006
}
10071007

10081008
/**
1009-
* throw error of the argument is falsy.
1009+
* throw error if the argument is falsy.
10101010
*/
10111011
function assertArg(arg, name, reason) {
10121012
if (!arg) {

src/ngMock/angular-mocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ angular.mock.$ExceptionHandlerProvider = function() {
241241
*
242242
* @param {string} mode Mode of operation, defaults to `rethrow`.
243243
*
244-
* - `rethrow`: If any errors are are passed into the handler in tests, it typically
244+
* - `rethrow`: If any errors are passed into the handler in tests, it typically
245245
* means that there is a bug in the application or test, so this mock will
246246
* make these tests fail.
247247
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log` mode stores an

0 commit comments

Comments
 (0)