diff options
Diffstat (limited to 'recipes/tweetdeck')
-rw-r--r-- | recipes/tweetdeck/index.js | 4 | ||||
-rw-r--r-- | recipes/tweetdeck/package.json | 2 | ||||
-rw-r--r-- | recipes/tweetdeck/webview.js | 10 |
3 files changed, 8 insertions, 8 deletions
diff --git a/recipes/tweetdeck/index.js b/recipes/tweetdeck/index.js index f54a64a..89cfd18 100644 --- a/recipes/tweetdeck/index.js +++ b/recipes/tweetdeck/index.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = Ferdi => | 1 | module.exports = Ferdium => |
2 | class Tweetdeck extends Ferdi { | 2 | class Tweetdeck extends Ferdium { |
3 | constructor(...args) { | 3 | constructor(...args) { |
4 | let _temp; | 4 | let _temp; |
5 | 5 | ||
diff --git a/recipes/tweetdeck/package.json b/recipes/tweetdeck/package.json index 2fc57fd..b082b40 100644 --- a/recipes/tweetdeck/package.json +++ b/recipes/tweetdeck/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "tweetdeck", | 2 | "id": "tweetdeck", |
3 | "name": "Tweetdeck", | 3 | "name": "Tweetdeck", |
4 | "version": "1.2.2", | 4 | "version": "1.3.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://tweetdeck.twitter.com/", | 7 | "serviceURL": "https://tweetdeck.twitter.com/", |
diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js index 7f99509..7e2a067 100644 --- a/recipes/tweetdeck/webview.js +++ b/recipes/tweetdeck/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | // Tweetdeck redirect fix | 2 | // Tweetdeck redirect fix |
3 | Ferdi.ipcRenderer.on('redirect-url', (event, url) => { | 3 | Ferdium.ipcRenderer.on('redirect-url', (event, url) => { |
4 | window.location.assign(url); | 4 | window.location.assign(url); |
5 | }); | 5 | }); |
6 | 6 | ||
@@ -8,11 +8,11 @@ module.exports = Ferdi => { | |||
8 | const elements = document.querySelectorAll('.msg-unread-count'); | 8 | const elements = document.querySelectorAll('.msg-unread-count'); |
9 | let count = 0; | 9 | let count = 0; |
10 | if (elements[0]) { | 10 | if (elements[0]) { |
11 | count = Ferdi.safeParseInt(elements[0].textContent); | 11 | count = Ferdium.safeParseInt(elements[0].textContent); |
12 | } | 12 | } |
13 | 13 | ||
14 | Ferdi.setBadge(count); | 14 | Ferdium.setBadge(count); |
15 | }; | 15 | }; |
16 | 16 | ||
17 | Ferdi.loop(getMessages); | 17 | Ferdium.loop(getMessages); |
18 | }; | 18 | }; |