diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-05 16:46:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 16:46:55 +0200 |
commit | 2484c63d77e05fff384cc08b6ea46a29a22a62ec (patch) | |
tree | 21b8b74f1788407a4cfb13052160398f13424ac6 /recipes/franz-custom-website | |
parent | Add check to ensure that generated file 'user.js' is not present in default p... (diff) | |
download | ferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.tar.gz ferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.tar.zst ferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.zip |
chore: repo maintenance (#732)
Diffstat (limited to 'recipes/franz-custom-website')
-rw-r--r-- | recipes/franz-custom-website/index.js | 11 | ||||
-rw-r--r-- | recipes/franz-custom-website/webview.js | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/recipes/franz-custom-website/index.js b/recipes/franz-custom-website/index.js index c0f91cb..6e4f228 100644 --- a/recipes/franz-custom-website/index.js +++ b/recipes/franz-custom-website/index.js | |||
@@ -1,5 +1,6 @@ | |||
1 | module.exports = Ferdi => class CustomWebsite extends Ferdi { | 1 | module.exports = Ferdi => |
2 | async validateUrl(url) { | 2 | class CustomWebsite extends Ferdi { |
3 | return true; | 3 | async validateUrl() { |
4 | } | 4 | return true; |
5 | }; | 5 | } |
6 | }; | ||
diff --git a/recipes/franz-custom-website/webview.js b/recipes/franz-custom-website/webview.js index ca6a9f7..9eec086 100644 --- a/recipes/franz-custom-website/webview.js +++ b/recipes/franz-custom-website/webview.js | |||
@@ -1,6 +1,8 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | 1 | const _path = _interopRequireDefault(require('path')); |
2 | 2 | ||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | 3 | function _interopRequireDefault(obj) { |
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
4 | 6 | ||
5 | module.exports = Ferdi => { | 7 | module.exports = Ferdi => { |
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'style.css')); | 8 | Ferdi.injectCSS(_path.default.join(__dirname, 'style.css')); |