mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs(mock.inject): fix typo
This commit is contained in:
parent
5b1f9b3c2b
commit
dbd90a4d78
1 changed files with 1 additions and 1 deletions
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
|
|
@ -1743,7 +1743,7 @@ window.jasmine && (function(window) {
|
|||
* the variable to have the same name of the reference we have a problem, since the parameter
|
||||
* to the `inject()` function would hide the outer variable.
|
||||
*
|
||||
* To help with this, the injected parameters can, optionally, beenclosing with underscores.
|
||||
* To help with this, the injected parameters can, optionally, be enclosed with underscores.
|
||||
* These are ignored by the injector when the reference name is resolved.
|
||||
*
|
||||
* For example, the parameter `_myService_` would be resolved as the reference `myService`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue