diff options
Diffstat (limited to 'scripts/sample_recipe')
-rw-r--r-- | scripts/sample_recipe/README.md | 2 | ||||
-rw-r--r-- | scripts/sample_recipe/service.css | 1 | ||||
-rw-r--r-- | scripts/sample_recipe/webview.js | 8 |
3 files changed, 1 insertions, 10 deletions
diff --git a/scripts/sample_recipe/README.md b/scripts/sample_recipe/README.md deleted file mode 100644 index 40ddca5..0000000 --- a/scripts/sample_recipe/README.md +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | # SNAME for Ferdi | ||
2 | This is a Ferdi recipe for SNAME | ||
diff --git a/scripts/sample_recipe/service.css b/scripts/sample_recipe/service.css deleted file mode 100644 index 38dcab0..0000000 --- a/scripts/sample_recipe/service.css +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | /* Insert custom styles you want to insert here */ \ No newline at end of file | ||
diff --git a/scripts/sample_recipe/webview.js b/scripts/sample_recipe/webview.js index a6596b1..29cca49 100644 --- a/scripts/sample_recipe/webview.js +++ b/scripts/sample_recipe/webview.js | |||
@@ -1,14 +1,8 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | 1 | module.exports = () => { |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
4 | |||
5 | module.exports = Ferdi => { | ||
6 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | 2 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges |
7 | // const getMessages = () => { | 3 | // const getMessages = () => { |
8 | // // TODO: Insert your notification-finding code here | 4 | // // TODO: Insert your notification-finding code here |
9 | // Ferdi.setBadge(0, 0); | 5 | // Ferdi.setBadge(0, 0); |
10 | // }; | 6 | // }; |
11 | // Ferdi.loop(getMessages); | 7 | // Ferdi.loop(getMessages); |
12 | |||
13 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
14 | }; | 8 | }; |