mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 17:38:53 +00:00
[API] Obey strict DI rules
Fix unintended implicit DI usage in configuration
This commit is contained in:
parent
9babe7167e
commit
7728d308f2
@ -90,12 +90,10 @@ define(
|
|||||||
}
|
}
|
||||||
|
|
||||||
decorate($log);
|
decorate($log);
|
||||||
app.config(function ($provide) {
|
app.decorator('$log', ['$delegate', function ($delegate) {
|
||||||
$provide.decorator('$log', function ($delegate) {
|
decorate($delegate);
|
||||||
decorate($delegate);
|
return $delegate;
|
||||||
return $delegate;
|
}]);
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return LogLevel;
|
return LogLevel;
|
||||||
|
Loading…
Reference in New Issue
Block a user