1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00
Files
browser/src/background.js
Kyle Spearrin 72ac90157f bootstrap async
2017-12-05 23:37:32 -05:00

11 lines
368 B
JavaScript

import MainBackground from './background/main.background';
import i18nService from './services/i18nService.js';
window.forge = require('node-forge');
window.tldjs = require('tldjs');
const bg_isBackground = window.bg_isBackground = true;
const bg_main = window.bg_main = new MainBackground(new i18nService());
require('./scripts/analytics.js');
bg_main.bootstrap();