diff options
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')); |