mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs: fix typos
This commit is contained in:
parent
d521ad3ff6
commit
a92bb2e025
2 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue