diff options
author | 2019-09-28 12:10:25 +0200 | |
---|---|---|
committer | 2019-09-28 12:10:25 +0200 | |
commit | 728d339739b63e9bb59e457e4a84fe9a65b93fc9 (patch) | |
tree | a0fc6180ea26fa9ef397458e8eb6491031d6437d /uncompressed/gitter | |
parent | Add list of recipes (diff) | |
download | ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.gz ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.tar.zst ferdium-recipes-728d339739b63e9bb59e457e4a84fe9a65b93fc9.zip |
Add uncompressed recipes
Diffstat (limited to 'uncompressed/gitter')
-rw-r--r-- | uncompressed/gitter/icon.svg | 1 | ||||
-rw-r--r-- | uncompressed/gitter/index.js | 6 | ||||
-rw-r--r-- | uncompressed/gitter/package.json | 23 | ||||
-rw-r--r-- | uncompressed/gitter/service.css | 3 | ||||
-rw-r--r-- | uncompressed/gitter/webview.js | 27 |
5 files changed, 60 insertions, 0 deletions
diff --git a/uncompressed/gitter/icon.svg b/uncompressed/gitter/icon.svg new file mode 100644 index 0000000..a93a828 --- /dev/null +++ b/uncompressed/gitter/icon.svg | |||
@@ -0,0 +1 @@ | |||
<svg width="2500" height="2500" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><defs><linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="a"><stop stop-color="#FB0766" offset="0%"/><stop stop-color="#C50948" offset="100%"/></linearGradient></defs><path d="M0 0h256v256H0V0z" fill="url(#a)"/><path d="M83.914 62.873h12.525v82.661H83.914V62.873zm76.149 20.039h12.524v62.622h-12.524V82.912zm-50.599 0h12.524v110.466h-12.524V82.912zm25.049 0h12.525v110.466h-12.525V82.912z" fill="#FFF"/></svg> \ No newline at end of file | |||
diff --git a/uncompressed/gitter/index.js b/uncompressed/gitter/index.js new file mode 100644 index 0000000..349649f --- /dev/null +++ b/uncompressed/gitter/index.js | |||
@@ -0,0 +1,6 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | // just pass through Franz | ||
4 | |||
5 | module.exports = Franz => Franz; | ||
6 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRpc2NvcmQvaW5kZXguanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsIkZyYW56Il0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBLE9BQU8sQUFBUCxVQUFpQixTQUFTLEFBQTFCIiwiZmlsZSI6ImRpc2NvcmQvaW5kZXguanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBqdXN0IHBhc3MgdGhyb3VnaCBGcmFuelxubW9kdWxlLmV4cG9ydHMgPSBGcmFueiA9PiBGcmFuejtcbiJdfQ== \ No newline at end of file | ||
diff --git a/uncompressed/gitter/package.json b/uncompressed/gitter/package.json new file mode 100644 index 0000000..20070c2 --- /dev/null +++ b/uncompressed/gitter/package.json | |||
@@ -0,0 +1,23 @@ | |||
1 | { | ||
2 | "id": "gitter", | ||
3 | "name": "Gitter", | ||
4 | "version": "1.0.2", | ||
5 | "description": "Gitter", | ||
6 | "main": "index.js", | ||
7 | "author": "Brian Gilbert <brian@briangilbert.net>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://gitter.im", | ||
11 | "message": "", | ||
12 | "popup": [], | ||
13 | "hasNotificationSound": true, | ||
14 | "hasDirectMessages": true, | ||
15 | "hasIndirectMessages": false, | ||
16 | "hasTeamID": false, | ||
17 | "hasPredefinedUrl": true, | ||
18 | "hasCustomUrl": false, | ||
19 | "webviewOptions": { | ||
20 | "disablewebsecurity": "" | ||
21 | } | ||
22 | } | ||
23 | } | ||
diff --git a/uncompressed/gitter/service.css b/uncompressed/gitter/service.css new file mode 100644 index 0000000..a16a615 --- /dev/null +++ b/uncompressed/gitter/service.css | |||
@@ -0,0 +1,3 @@ | |||
1 | .notice { | ||
2 | display: none; | ||
3 | } | ||
diff --git a/uncompressed/gitter/webview.js b/uncompressed/gitter/webview.js new file mode 100644 index 0000000..17cbca9 --- /dev/null +++ b/uncompressed/gitter/webview.js | |||
@@ -0,0 +1,27 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | let _path = require('path'); | ||
4 | |||
5 | let _path2 = _interopRequireDefault(_path); | ||
6 | |||
7 | function _interopRequireDefault(obj) { | ||
8 | return obj && obj.__esModule ? obj : { default: obj }; | ||
9 | } | ||
10 | |||
11 | module.exports = Franz => { | ||
12 | const getMessages = function getMessages() { | ||
13 | // get unread messages | ||
14 | const count = document.querySelectorAll('.guilds-wrapper .badge, .room-menu-options__item__unread-indicator-wrapper.has-unreads').length; | ||
15 | |||
16 | // set Franz badge | ||
17 | Franz.setBadge(count); | ||
18 | }; | ||
19 | |||
20 | // check for new messages every second and update Franz badge | ||
21 | Franz.loop(getMessages); | ||
22 | |||
23 | // Hide download message | ||
24 | Franz.injectCSS(_path2.default.join(__dirname, 'service.css')); | ||
25 | }; | ||
26 | // # sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImRpc2NvcmQvd2Vidmlldy5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwiRnJhbnoiLCJnZXRNZXNzYWdlcyIsImNvdW50IiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwibGVuZ3RoIiwic2V0QmFkZ2UiLCJsb29wIiwiaW5qZWN0Q1NTIiwiam9pbiIsIl9fZGlybmFtZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7Ozs7O0FBRUFBLE9BQU9DLE9BQVAsR0FBa0JDLEtBQUQsSUFBVztBQUMxQixRQUFNQyxjQUFjLFNBQVNBLFdBQVQsR0FBdUI7QUFDekM7QUFDQSxVQUFNQyxRQUFRQyxTQUFTQyxnQkFBVCxDQUEwQix3QkFBMUIsRUFBb0RDLE1BQWxFOztBQUVBO0FBQ0FMLFVBQU1NLFFBQU4sQ0FBZUosS0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