aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/franz-custom-website
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/franz-custom-website
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/franz-custom-website')
-rw-r--r--recipes/franz-custom-website/index.js2
-rw-r--r--recipes/franz-custom-website/webview.js4
2 files changed, 1 insertions, 5 deletions
diff --git a/recipes/franz-custom-website/index.js b/recipes/franz-custom-website/index.js
index d232644..db3da5e 100644
--- a/recipes/franz-custom-website/index.js
+++ b/recipes/franz-custom-website/index.js
@@ -1,5 +1,3 @@
1"use strict";
2
3module.exports = Franz => class CustomWebsite extends Franz { 1module.exports = Franz => class CustomWebsite extends Franz {
4 async validateUrl(url) { 2 async validateUrl(url) {
5 return true; 3 return true;
diff --git a/recipes/franz-custom-website/webview.js b/recipes/franz-custom-website/webview.js
index ed1c3a6..6df0aaa 100644
--- a/recipes/franz-custom-website/webview.js
+++ b/recipes/franz-custom-website/webview.js
@@ -1,7 +1,5 @@
1"use strict";
2
3const path = require('path'); 1const path = require('path');
4 2
5module.exports = Franz => { 3module.exports = Franz => {
6 Franz.injectCSS(path.join(__dirname, 'style.css')); 4 Franz.injectCSS(path.join(__dirname, 'style.css'));
7}; \ No newline at end of file 5};