console.log removal

This commit is contained in:
Tamius Han 2020-12-23 01:59:49 +01:00
parent 804509b3c5
commit 76b380d6c3
4 changed files with 5 additions and 8 deletions

View File

@ -104,17 +104,18 @@ export default {
}
}
},
created() {
console.log("created!");
console.log("store:", this.$store, this);
},
methods: {
getUrl(url) {
return BrowserDetect.firefox ? browser.runtime.getURL(url) : chrome.runtime.getURL(url);
},
async hidePopupForever() {
try {
console.log("++")
const settings = new Settings();
console.log("++0")
await settings.init();
console.log("++1")
if (!settings.active.mutedNotifications) {
settings.active.mutedNotifications = {};

View File

@ -558,7 +558,6 @@ class ArDetector {
} catch (e) {
this.logger.log('error', 'arDetect', `%c[ArDetect::frameCheck] <@${this.arid}> %c[ArDetect::frameCheck] can't draw image on canvas. ${this.canDoFallbackMode ? 'Trying canvas.drawWindow instead' : 'Doing nothing as browser doesn\'t support fallback mode.'}`, "color:#000; backgroud:#f51;", e);
console.log('video is protected by DRM', this.drmNotificationShown)
// nothing to see here, really, if fallback mode isn't supported by browser
if (!this.drmNotificationShown) {
this.drmNotificationShown = true;

View File

@ -50,13 +50,11 @@ class PlayerNotificationUi extends UI {
},
mutations: {
'uw-set-notification'(state, payload) {
console.log('mutation!', state, payload);
state['notificationConfig'] = payload;
}
},
actions: {
'uw-set-notification'({commit}, payload) {
console.log('action!', commit, payload);
commit('uw-set-notification', payload);
}
}

View File

@ -57,7 +57,6 @@ class PlayerUi extends UI {
},
actions: {
'uw-set-ui-visible'({commit}, payload) {
console.log('action!', commit, payload);
commit('uw-set-ui-visible', payload);
},
'uw-toggle-ui'({commit}) {