From 97697e3d069972844b2912a93022f4a4904a40d6 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sat, 31 Jul 2021 15:28:23 +0530 Subject: Fixed eslintrc as root for this folder; Reformatted all files. --- recipes/snapdrop/index.js | 29 ++++++++++++++--------------- recipes/snapdrop/webview.js | 2 -- 2 files changed, 14 insertions(+), 17 deletions(-) (limited to 'recipes/snapdrop') diff --git a/recipes/snapdrop/index.js b/recipes/snapdrop/index.js index a0d85b9..28dbd49 100644 --- a/recipes/snapdrop/index.js +++ b/recipes/snapdrop/index.js @@ -1,15 +1,14 @@ -module.exports = (Franz) => - class Snapdrop extends Franz { - modifyRequestHeaders() { - return [ - { - headers: { - 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', - }, - requestFilters: { - urls: ['*://*/*'], - } - } - ] - } - }; +module.exports = (Franz) => class Snapdrop extends Franz { + modifyRequestHeaders() { + return [ + { + headers: { + 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', + }, + requestFilters: { + urls: ['*://*/*'], + }, + }, + ]; + } +}; diff --git a/recipes/snapdrop/webview.js b/recipes/snapdrop/webview.js index 3ad189a..2d19daa 100644 --- a/recipes/snapdrop/webview.js +++ b/recipes/snapdrop/webview.js @@ -1,3 +1 @@ -"use strict"; - module.exports = (Franz) => {}; -- cgit v1.2.3-54-g00ecf