diff options
Diffstat (limited to 'scripts/sample_recipe/webview.js')
-rw-r--r-- | scripts/sample_recipe/webview.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/sample_recipe/webview.js b/scripts/sample_recipe/webview.js index dc4a062..86bb422 100644 --- a/scripts/sample_recipe/webview.js +++ b/scripts/sample_recipe/webview.js | |||
@@ -1,8 +1,16 @@ | |||
1 | module.exports = () => { | 1 | const _path = _interopRequireDefault(require('path')); |
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
2 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | 8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges |
3 | // const getMessages = () => { | 9 | // const getMessages = () => { |
4 | // // TODO: Insert your notification-finding code here | 10 | // // TODO: Insert your notification-finding code here |
5 | // Ferdium.setBadge(0, 0); | 11 | // Ferdium.setBadge(0, 0); |
6 | // }; | 12 | // }; |
7 | // Ferdium.loop(getMessages); | 13 | // Ferdium.loop(getMessages); |
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
8 | }; | 16 | }; |