aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sample_recipe/webview.js
blob: 2a81dec328e9aefa27e4cc6cd86f8242fcd1ad13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
  // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges
  // const getMessages = () => {
  //   // TODO: Insert your notification-finding code here
  //   Ferdium.setBadge(0, 0);
  // };
  // Ferdium.loop(getMessages);

  Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};