diff options
Diffstat (limited to 'recipes/franz-custom-website')
-rw-r--r-- | recipes/franz-custom-website/index.js | 2 | ||||
-rw-r--r-- | recipes/franz-custom-website/package.json | 2 | ||||
-rw-r--r-- | recipes/franz-custom-website/webview.js | 8 |
3 files changed, 7 insertions, 5 deletions
diff --git a/recipes/franz-custom-website/index.js b/recipes/franz-custom-website/index.js index db3da5e..c0f91cb 100644 --- a/recipes/franz-custom-website/index.js +++ b/recipes/franz-custom-website/index.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Franz => class CustomWebsite extends Franz { | 1 | module.exports = Ferdi => class CustomWebsite extends Ferdi { |
2 | async validateUrl(url) { | 2 | async validateUrl(url) { |
3 | return true; | 3 | return true; |
4 | } | 4 | } |
diff --git a/recipes/franz-custom-website/package.json b/recipes/franz-custom-website/package.json index d56cff7..dc84b6c 100644 --- a/recipes/franz-custom-website/package.json +++ b/recipes/franz-custom-website/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "franz-custom-website", | 2 | "id": "franz-custom-website", |
3 | "name": "Custom Website", | 3 | "name": "Custom Website", |
4 | "version": "1.0.5", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "repository": "https://github.com/meetfranz/recipe-custom-website", | 6 | "repository": "https://github.com/meetfranz/recipe-custom-website", |
7 | "config": { | 7 | "config": { |
diff --git a/recipes/franz-custom-website/webview.js b/recipes/franz-custom-website/webview.js index 6df0aaa..ca6a9f7 100644 --- a/recipes/franz-custom-website/webview.js +++ b/recipes/franz-custom-website/webview.js | |||
@@ -1,5 +1,7 @@ | |||
1 | const path = require('path'); | 1 | const _path = _interopRequireDefault(require('path')); |
2 | 2 | ||
3 | module.exports = Franz => { | 3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
4 | Franz.injectCSS(path.join(__dirname, 'style.css')); | 4 | |
5 | module.exports = Ferdi => { | ||
6 | Ferdi.injectCSS(_path.default.join(__dirname, 'style.css')); | ||
5 | }; | 7 | }; |