Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor(injector): remove unused code #8273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/auto/injector.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ function annotate(fn, strictDi, name) {
* {@link guide/di $inject Annotation} rules.
* @param {Object=} self The `this` for the invoked method.
* @param {Object=} locals Optional object. If preset then any argument names are read from this
* object first, before the `$injector` is consulted.
* object first, before the `$injector` is consulted. If `locals` is
* a string, then it's treated as the service's name (might be useful
* for 3rd party libraries which use the smart-injector style for
* providing more debug information).
* @returns {*} the value returned by the invoked `fn` function.
*/

Expand Down