diff options
Diffstat (limited to 'recipes/teamwork-projects')
-rw-r--r-- | recipes/teamwork-projects/index.js | 4 | ||||
-rw-r--r-- | recipes/teamwork-projects/webview.js | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/recipes/teamwork-projects/index.js b/recipes/teamwork-projects/index.js index 4552a3b..ea5dbea 100644 --- a/recipes/teamwork-projects/index.js +++ b/recipes/teamwork-projects/index.js | |||
@@ -1,4 +1,2 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; | 1 | module.exports = Franz => Franz; |
4 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlYW13b3JrLXByb2plY3RzL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoidGVhbXdvcmstcHJvamVjdHMvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 \ No newline at end of file | 2 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlYW13b3JrLXByb2plY3RzL2luZGV4LmpzIl0sIm5hbWVzIjpbIm1vZHVsZSIsImV4cG9ydHMiLCJGcmFueiJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBT0MsT0FBUCxHQUFpQkMsU0FBU0EsS0FBMUIiLCJmaWxlIjoidGVhbXdvcmstcHJvamVjdHMvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IEZyYW56ID0+IEZyYW56O1xuIl19 |
diff --git a/recipes/teamwork-projects/webview.js b/recipes/teamwork-projects/webview.js index c3f7d77..c52abc5 100644 --- a/recipes/teamwork-projects/webview.js +++ b/recipes/teamwork-projects/webview.js | |||
@@ -1,10 +1,8 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | module.exports = (Franz, options) => { | 1 | module.exports = (Franz, options) => { |
4 | function getMessages() { | 2 | function getMessages() { |
5 | let count = 0; | 3 | const count = 0; |
6 | let indirectCount = 0; | 4 | let indirectCount = 0; |
7 | let badge = document.getElementById('numNotifs2'); | 5 | const badge = document.getElementById('numNotifs2'); |
8 | 6 | ||
9 | if (badge && badge.innerText) { | 7 | if (badge && badge.innerText) { |
10 | indirectCount = parseInt(badge.innerText); | 8 | indirectCount = parseInt(badge.innerText); |
@@ -15,4 +13,4 @@ module.exports = (Franz, options) => { | |||
15 | 13 | ||
16 | Franz.loop(getMessages); | 14 | Franz.loop(getMessages); |
17 | }; | 15 | }; |
18 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlYW13b3JrLXByb2plY3RzL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Iiwib3B0aW9ucyIsImdldE1lc3NhZ2VzIiwiY291bnQiLCJpbmRpcmVjdENvdW50IiwiYmFkZ2UiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwiaW5uZXJUZXh0IiwicGFyc2VJbnQiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQVAsR0FBaUIsQ0FBQ0MsS0FBRCxFQUFRQyxPQUFSLEtBQW9CO0FBQ25DLFdBQVNDLFdBQVQsR0FBdUI7QUFDckIsUUFBSUMsUUFBUSxDQUFaO0FBQ0EsUUFBSUMsZ0JBQWdCLENBQXBCO0FBQ0EsUUFBSUMsUUFBUUMsU0FBU0MsY0FBVCxDQUF3QixZQUF4QixDQUFaOztBQUVBLFFBQUlGLFNBQVNBLE1BQU1HLFNBQW5CLEVBQThCO0FBQzFCSixzQkFBZ0JLLFNBQVNKLE1BQU1HLFNBQWYsQ0FBaEI7QUFDSDs7QUFFRFIsVUFBTVUsUUFBTixDQUFlUCxLQUFmLEVBQXNCQyxhQUF0QjtBQUNEOztBQUVESixRQUFNVyxJQUFOLENBQVdULFdBQVg7QUFDRCxDQWREIiwiZmlsZSI6InRlYW13b3JrLXByb2plY3RzL3dlYnZpZXcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IChGcmFueiwgb3B0aW9ucykgPT4ge1xuICBmdW5jdGlvbiBnZXRNZXNzYWdlcygpIHtcbiAgICBsZXQgY291bnQgPSAwO1xuICAgIGxldCBpbmRpcmVjdENvdW50ID0gMDtcbiAgICBsZXQgYmFkZ2UgPSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnbnVtTm90aWZzMicpO1xuXG4gICAgaWYgKGJhZGdlICYmIGJhZGdlLmlubmVyVGV4dCkge1xuICAgICAgICBpbmRpcmVjdENvdW50ID0gcGFyc2VJbnQoYmFkZ2UuaW5uZXJUZXh0KTtcbiAgICB9XG5cbiAgICBGcmFuei5zZXRCYWRnZShjb3VudCwgaW5kaXJlY3RDb3VudCk7XG4gIH1cblxuICBGcmFuei5sb29wKGdldE1lc3NhZ2VzKTtcbn1cbiJdfQ== \ No newline at end of file | 16 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRlYW13b3JrLXByb2plY3RzL3dlYnZpZXcuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Iiwib3B0aW9ucyIsImdldE1lc3NhZ2VzIiwiY291bnQiLCJpbmRpcmVjdENvdW50IiwiYmFkZ2UiLCJkb2N1bWVudCIsImdldEVsZW1lbnRCeUlkIiwiaW5uZXJUZXh0IiwicGFyc2VJbnQiLCJzZXRCYWRnZSIsImxvb3AiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU9DLE9BQV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