Replace console.log with bglog.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
console.log('test!');
|
||||
|
||||
import { bglog } from './utils';
|
||||
import Alpine from 'alpinejs';
|
||||
window.Alpine = Alpine;
|
||||
|
||||
const log = msg => bglog(msg, 'popup');
|
||||
|
||||
Alpine.data('popup', () => ({
|
||||
privKey: '',
|
||||
pubKey: '',
|
||||
@@ -17,7 +18,7 @@ Alpine.data('popup', () => ({
|
||||
confirmDelete: false,
|
||||
|
||||
async init() {
|
||||
console.log('Initializing backend.');
|
||||
log('Initializing backend.');
|
||||
await browser.runtime.sendMessage({ kind: 'init' });
|
||||
|
||||
this.$watch('profileIndex', async () => {
|
||||
|
||||
Reference in New Issue
Block a user