aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/franz-custom-website
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/franz-custom-website')
-rw-r--r--recipes/franz-custom-website/index.js2
-rw-r--r--recipes/franz-custom-website/package.json2
-rw-r--r--recipes/franz-custom-website/webview.js8
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 @@
1module.exports = Franz => class CustomWebsite extends Franz { 1module.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 @@
1const path = require('path'); 1const _path = _interopRequireDefault(require('path'));
2 2
3module.exports = Franz => { 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 Franz.injectCSS(path.join(__dirname, 'style.css')); 4
5module.exports = Ferdi => {
6 Ferdi.injectCSS(_path.default.join(__dirname, 'style.css'));
5}; 7};