aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/toggl/webview.js
blob: 199700a4c58975bae7f9207aa92f5c496d1e35e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
const _path = _interopRequireDefault(require('path'));

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

module.exports = Ferdi => {
    const updateBadge = function updateBadge() {
        Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js'));
    };

    Ferdi.loop(updateBadge);
};