docs: fix typos

This commit is contained in:
Matt Haggard 2013-04-11 15:14:20 -06:00 committed by Igor Minar
parent d521ad3ff6
commit a92bb2e025
2 changed files with 3 additions and 3 deletions

View file

@ -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) {

View file

@ -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