1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

pass utilsService to i18n function

This commit is contained in:
Kyle Spearrin
2017-12-06 14:05:49 -05:00
parent 81fcfb4f6f
commit a5add2c6f9
3 changed files with 15 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ export default class MainBackground {
constructor() {
// Services
this.utilsService = new UtilsService();
this.i18nService = i18nService();
this.i18nService = i18nService(this.utilsService);
this.constantsService = new ConstantsService(i18nService, this.utilsService);
this.cryptoService = new CryptoService();
this.tokenService = new TokenService();