mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-28 23:28:16 +00:00
parent
0bbb9e6258
commit
2cdb588b86
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ function MyClass() {
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
However, where does the serviceRegistry come from? if it is:
|
However, where does the serviceRegistry come from? if it is:
|
||||||
* `new`-ed up, the the test has no chance to reset the services for testing
|
* `new`-ed up, the test has no chance to reset the services for testing
|
||||||
* global look-up, then the service returned is global as well (but resetting is easier, since
|
* global look-up, then the service returned is global as well (but resetting is easier, since
|
||||||
there is only one global variable to be reset).
|
there is only one global variable to be reset).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue