Skip to content

Commit

Permalink
docs: update explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKless committed Jan 31, 2022
1 parent 35ee368 commit 865d809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/utils/translate/pwa-translate-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class PWATranslateCompiler implements TranslateCompiler {
private translate: () => TranslateService;

constructor(injector: Injector) {
// set cyclic dependency
// cache TranslateService reference to avoid repeated calls to injector
this.translate = once(() => injector.get(TranslateService));
}

Expand Down

1 comment on commit 865d809

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Azure Demo Servers are available:

Please sign in to comment.