diff options
| author | Matt Haggard | 2013-04-11 15:14:20 -0600 |
|---|---|---|
| committer | Igor Minar | 2013-04-11 15:03:59 -0700 |
| commit | a92bb2e02564e9e6cec4ec6c15c3e058a8f37de5 (patch) | |
| tree | 3000c04a48311fe9ef655a83f820dbce95ce8517 /src | |
| parent | d521ad3ff6e3800a32464d4f0739a3b6ab9cf0b1 (diff) | |
| download | angular.js-a92bb2e02564e9e6cec4ec6c15c3e058a8f37de5.tar.bz2 | |
docs: fix typos
Diffstat (limited to 'src')
| -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 |
