diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/create.js | 1 | ||||
-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 |
4 files changed, 1 insertions, 11 deletions
diff --git a/scripts/create.js b/scripts/create.js index f171290..6ba1ee4 100644 --- a/scripts/create.js +++ b/scripts/create.js | |||
@@ -24,7 +24,6 @@ const filesThatNeedTextReplace = [ | |||
24 | 'package.json', | 24 | 'package.json', |
25 | 'index.js', | 25 | 'index.js', |
26 | 'webview.js', | 26 | 'webview.js', |
27 | 'README.md', | ||
28 | ]; | 27 | ]; |
29 | 28 | ||
30 | const toPascalCase = (str) => { | 29 | const toPascalCase = (str) => { |
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 | }; |