aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sample_recipe/webview.js
blob: 86bb4228ed1668a7e2b043874e01dc28cea6929e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const _path = _interopRequireDefault(require('path'));

function _interopRequireDefault(obj) {
  return obj && obj.__esModule ? obj : { default: obj };
}

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'));
};