diff options
author | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-08-27 18:13:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 18:13:24 +0530 |
commit | 155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch) | |
tree | d144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/flowdock | |
parent | docs: fixed template file for creating recipe. (diff) | |
download | ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip |
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time.
- Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/flowdock')
-rw-r--r-- | recipes/flowdock/index.js | 3 | ||||
-rw-r--r-- | recipes/flowdock/package.json | 2 | ||||
-rw-r--r-- | recipes/flowdock/webview.js | 9 |
3 files changed, 6 insertions, 8 deletions
diff --git a/recipes/flowdock/index.js b/recipes/flowdock/index.js index 582ee6e..23607bd 100644 --- a/recipes/flowdock/index.js +++ b/recipes/flowdock/index.js | |||
@@ -1,2 +1 @@ | |||
1 | module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | |
2 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsb3dkb2NrL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoiZmxvd2RvY2svaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 | ||
diff --git a/recipes/flowdock/package.json b/recipes/flowdock/package.json index 4daa17d..8fd8966 100644 --- a/recipes/flowdock/package.json +++ b/recipes/flowdock/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "flowdock", | 2 | "id": "flowdock", |
3 | "name": "Flowdock", | 3 | "name": "Flowdock", |
4 | "version": "1.0.2", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://www.flowdock.com/app/", | 7 | "serviceURL": "https://www.flowdock.com/app/", |
diff --git a/recipes/flowdock/webview.js b/recipes/flowdock/webview.js index 704dc95..86db60f 100644 --- a/recipes/flowdock/webview.js +++ b/recipes/flowdock/webview.js | |||
@@ -1,12 +1,11 @@ | |||
1 | module.exports = Franz => { | 1 | module.exports = Ferdi => { |
2 | const getMessages = function getMessages() { | 2 | const getMessages = function getMessages() { |
3 | const directMessages = document.querySelectorAll('.activity-indicator-mentions').length; | 3 | const directMessages = document.querySelectorAll('.activity-indicator-mentions').length; |
4 | const indirectMessages = document.querySelectorAll('.activity-indicator-chat').length; | 4 | const indirectMessages = document.querySelectorAll('.activity-indicator-chat').length; |
5 | 5 | ||
6 | // set Franz badge | 6 | // set Ferdi badge |
7 | Franz.setBadge(directMessages, indirectMessages); | 7 | Ferdi.setBadge(directMessages, indirectMessages); |
8 | }; | 8 | }; |
9 | 9 | ||
10 | Franz.loop(getMessages); | 10 | Ferdi.loop(getMessages); |
11 | }; | 11 | }; |
12 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZsb3dkb2NrL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56IiwiZ2V0TWVzc2FnZXMiLCJkaXJlY3RNZXNzYWdlcyIsImRvY3VtZW50IiwicXVlcnlTZWxlY3RvckFsbCIsImxlbmd0aCIsImluZGlyZWN0TWVzc2FnZXMiLCJzZXRCYWRnZSI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