mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37: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);
|
||||
app.config(function ($provide) {
|
||||
$provide.decorator('$log', function ($delegate) {
|
||||
decorate($delegate);
|
||||
return $delegate;
|
||||
});
|
||||
});
|
||||
app.decorator('$log', ['$delegate', function ($delegate) {
|
||||
decorate($delegate);
|
||||
return $delegate;
|
||||
}]);
|
||||
};
|
||||
|
||||
return LogLevel;
|
||||
|
Loading…
Reference in New Issue
Block a user