diff options
Diffstat (limited to 'recipes/circuit')
-rw-r--r-- | recipes/circuit/README.md | 4 | ||||
-rw-r--r-- | recipes/circuit/index.js | 2 | ||||
-rw-r--r-- | recipes/circuit/package.json | 2 | ||||
-rw-r--r-- | recipes/circuit/webview.js | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/recipes/circuit/README.md b/recipes/circuit/README.md index 317c0fd..8b4c74b 100644 --- a/recipes/circuit/README.md +++ b/recipes/circuit/README.md | |||
@@ -1,3 +1,3 @@ | |||
1 | # Circuit EU for Ferdi | 1 | # Circuit EU for Ferdium |
2 | 2 | ||
3 | Unofficial Ferdi recipe for [Circuit by Atos Unify](https://eu.yourcircuit.com/) \ No newline at end of file | 3 | Unofficial Ferdium recipe for [Circuit by Atos Unify](https://eu.yourcircuit.com/) |
diff --git a/recipes/circuit/index.js b/recipes/circuit/index.js index 23607bd..dd41f72 100644 --- a/recipes/circuit/index.js +++ b/recipes/circuit/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => Ferdi; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/circuit/package.json b/recipes/circuit/package.json index e5e354b..9f14709 100644 --- a/recipes/circuit/package.json +++ b/recipes/circuit/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "circuit", | 2 | "id": "circuit", |
3 | "name": "Circuit", | 3 | "name": "Circuit", |
4 | "version": "1.0.3", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://eu.yourcircuit.com/" | 7 | "serviceURL": "https://eu.yourcircuit.com/" |
diff --git a/recipes/circuit/webview.js b/recipes/circuit/webview.js index c04022d..62c35fa 100644 --- a/recipes/circuit/webview.js +++ b/recipes/circuit/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | // Get value of <title> tag where in case of new messages the number of messages appear | 3 | // Get value of <title> tag where in case of new messages the number of messages appear |
4 | const title = document.querySelector('title'); | 4 | const title = document.querySelector('title'); |
@@ -9,9 +9,9 @@ module.exports = Ferdi => { | |||
9 | const unread = match != null && match.length > 0 ? match[0] : 0; | 9 | const unread = match != null && match.length > 0 ? match[0] : 0; |
10 | 10 | ||
11 | // Set unread msgs badge | 11 | // Set unread msgs badge |
12 | Ferdi.setBadge(Ferdi.safeParseInt(unread)); | 12 | Ferdium.setBadge(Ferdium.safeParseInt(unread)); |
13 | } | 13 | } |
14 | }; | 14 | }; |
15 | 15 | ||
16 | Ferdi.loop(getMessages); | 16 | Ferdium.loop(getMessages); |
17 | }; | 17 | }; |