diff options
Diffstat (limited to 'recipes/netlify')
-rw-r--r-- | recipes/netlify/index.js | 2 | ||||
-rw-r--r-- | recipes/netlify/package.json | 2 | ||||
-rw-r--r-- | recipes/netlify/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/netlify/index.js b/recipes/netlify/index.js index f620a46..dd41f72 100644 --- a/recipes/netlify/index.js +++ b/recipes/netlify/index.js | |||
@@ -1 +1 @@ | |||
module.exports = (Ferdi) => class Netlify extends Ferdi {}; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/netlify/package.json b/recipes/netlify/package.json index d69dbfe..a90c544 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.1", | 4 | "version": "1.1.0", |
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/webview.js b/recipes/netlify/webview.js index 01b215b..6bfff02 100644 --- a/recipes/netlify/webview.js +++ b/recipes/netlify/webview.js | |||
@@ -1,8 +1,8 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const notifications = document.querySelectorAll("circle"); | 3 | const notifications = document.querySelectorAll("circle"); |
4 | 4 | ||
5 | Ferdi.setBadge(0, notifications.length > 0 ? 1 : 0); | 5 | Ferdium.setBadge(0, notifications.length > 0 ? 1 : 0); |
6 | }; | 6 | }; |
7 | Ferdi.loop(getMessages); | 7 | Ferdium.loop(getMessages); |
8 | }; | 8 | }; |