diff options
| -rw-r--r-- | src/Angular.js | 4 | ||||
| -rw-r--r-- | src/ngMock/angular-mocks.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Angular.js b/src/Angular.js index 8f00330c..cafaa054 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -699,7 +699,7 @@ function sliceArgs(args, startIndex) { * * @description * Returns a function which calls function `fn` bound to `self` (`self` becomes the `this` for - * `fn`). You can supply optional `args` that are are prebound to the function. This feature is also + * `fn`). You can supply optional `args` that are prebound to the function. This feature is also * known as [function currying](http://en.wikipedia.org/wiki/Currying). * * @param {Object} self Context which `fn` should be evaluated in. @@ -1031,7 +1031,7 @@ function bindJQuery() { } /** - * throw error of the argument is falsy. + * throw error if the argument is falsy. */ function assertArg(arg, name, reason) { if (!arg) { diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index 14a1f09e..62b66576 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -241,7 +241,7 @@ angular.mock.$ExceptionHandlerProvider = function() { * * @param {string} mode Mode of operation, defaults to `rethrow`. * - * - `rethrow`: If any errors are are passed into the handler in tests, it typically + * - `rethrow`: If any errors are passed into the handler in tests, it typically * means that there is a bug in the application or test, so this mock will * make these tests fail. * - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log` mode stores an |
