diff options
author | 2021-11-01 15:14:04 +0530 | |
---|---|---|
committer | 2021-11-01 15:14:04 +0530 | |
commit | 27ffda874e6808a7815ea7844355802afaad9599 (patch) | |
tree | 194011a66b86e3c603e964426c487813e62e943a /recipes/netlify | |
parent | Use PascalCasing for generated backend API class name (#759) (diff) | |
download | ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.gz ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.zst ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.zip |
chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script
Diffstat (limited to 'recipes/netlify')
-rw-r--r-- | recipes/netlify/package.json | 2 | ||||
-rw-r--r-- | recipes/netlify/service.css | 1 | ||||
-rw-r--r-- | recipes/netlify/webview.js | 8 |
3 files changed, 1 insertions, 10 deletions
diff --git a/recipes/netlify/package.json b/recipes/netlify/package.json index b4784a0..d69dbfe 100644 --- a/recipes/netlify/package.json +++ b/recipes/netlify/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "netlify", | 2 | "id": "netlify", |
3 | "name": "Netlify", | 3 | "name": "Netlify", |
4 | "version": "1.0.0", | 4 | "version": "1.0.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://app.netlify.com", | 7 | "serviceURL": "https://app.netlify.com", |
diff --git a/recipes/netlify/service.css b/recipes/netlify/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/recipes/netlify/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/recipes/netlify/webview.js b/recipes/netlify/webview.js index 9a74683..01b215b 100644 --- a/recipes/netlify/webview.js +++ b/recipes/netlify/webview.js | |||
@@ -1,9 +1,3 @@ | |||
1 | var _path = _interopRequireDefault(require("path")); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
8 | const getMessages = () => { | 2 | const getMessages = () => { |
9 | const notifications = document.querySelectorAll("circle"); | 3 | const notifications = document.querySelectorAll("circle"); |
@@ -11,6 +5,4 @@ module.exports = (Ferdi) => { | |||
11 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); | 5 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); |
12 | }; | 6 | }; |
13 | Ferdi.loop(getMessages); | 7 | Ferdi.loop(getMessages); |
14 | |||
15 | Ferdi.injectCSS(_path.default.join(__dirname, "service.css")); | ||
16 | }; | 8 | }; |