aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sample_recipe
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sample_recipe')
-rw-r--r--scripts/sample_recipe/README.md2
-rw-r--r--scripts/sample_recipe/service.css1
-rw-r--r--scripts/sample_recipe/webview.js8
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
2This 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 @@
1var _path = _interopRequireDefault(require('path')); 1module.exports = () => {
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4
5module.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};