From 762566cce67fd9616b281508cb34f6dfb45741e2 Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Sat, 30 Oct 2021 12:52:04 +0300 Subject: [PATCH] lint --- plugins/disable-autoplay/front.js | 2 +- plugins/precise-volume/front.js | 2 +- plugins/quality-changer/front.js | 2 +- plugins/sponsorblock/front.js | 2 +- providers/song-info-front.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/disable-autoplay/front.js b/plugins/disable-autoplay/front.js index c532d0db..532405de 100644 --- a/plugins/disable-autoplay/front.js +++ b/plugins/disable-autoplay/front.js @@ -3,5 +3,5 @@ module.exports = () => { document.querySelector('video').addEventListener('loadeddata', e => { e.target.pause(); }) - }, { once: true, passive: true}) + }, { once: true, passive: true }) }; diff --git a/plugins/precise-volume/front.js b/plugins/precise-volume/front.js index e50620ff..4bb606cd 100644 --- a/plugins/precise-volume/front.js +++ b/plugins/precise-volume/front.js @@ -9,7 +9,7 @@ module.exports = (options) => { document.addEventListener('apiLoaded', e => { api = e.detail; firstRun(options); - }, { once: true, passive: true}) + }, { once: true, passive: true }) }; /** Restore saved volume and setup tooltip */ diff --git a/plugins/quality-changer/front.js b/plugins/quality-changer/front.js index d0417493..9972c97f 100644 --- a/plugins/quality-changer/front.js +++ b/plugins/quality-changer/front.js @@ -9,7 +9,7 @@ const qualitySettingsButton = ElementFromFile( module.exports = () => { - document.addEventListener('apiLoaded', setup, { once: true, passive: true}); + document.addEventListener('apiLoaded', setup, { once: true, passive: true }); } function setup(event) { diff --git a/plugins/sponsorblock/front.js b/plugins/sponsorblock/front.js index 7ae2aa43..6f4048ad 100644 --- a/plugins/sponsorblock/front.js +++ b/plugins/sponsorblock/front.js @@ -23,5 +23,5 @@ module.exports = () => { } }); }) - }, { once: true, passive: true}) + }, { once: true, passive: true }) }; diff --git a/providers/song-info-front.js b/providers/song-info-front.js index d134433b..31748cd3 100644 --- a/providers/song-info-front.js +++ b/providers/song-info-front.js @@ -15,5 +15,5 @@ module.exports = () => { const data = e.detail.getPlayerResponse(); ipcRenderer.send("song-info-request", JSON.stringify(data)); }); - }, { once: true, passive: true}) + }, { once: true, passive: true }) };