aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/googlecalendar
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/googlecalendar')
-rw-r--r--recipes/googlecalendar/index.js2
-rw-r--r--recipes/googlecalendar/package.json2
-rw-r--r--recipes/googlecalendar/webview-unsafe.js4
-rw-r--r--recipes/googlecalendar/webview.js6
4 files changed, 7 insertions, 7 deletions
diff --git a/recipes/googlecalendar/index.js b/recipes/googlecalendar/index.js
index e84eca2..dd41f72 100644
--- a/recipes/googlecalendar/index.js
+++ b/recipes/googlecalendar/index.js
@@ -1 +1 @@
module.exports = Ferdi => class GoogleCalendar extends Ferdi {}; module.exports = Ferdium => Ferdium;
diff --git a/recipes/googlecalendar/package.json b/recipes/googlecalendar/package.json
index 58f78ed..a06e214 100644
--- a/recipes/googlecalendar/package.json
+++ b/recipes/googlecalendar/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "googlecalendar", 2 "id": "googlecalendar",
3 "name": "Google Calendar", 3 "name": "Google Calendar",
4 "version": "2.2.0", 4 "version": "2.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "aliases": [ 6 "aliases": [
7 "google-calendar", 7 "google-calendar",
diff --git a/recipes/googlecalendar/webview-unsafe.js b/recipes/googlecalendar/webview-unsafe.js
index 141d3bc..7840600 100644
--- a/recipes/googlecalendar/webview-unsafe.js
+++ b/recipes/googlecalendar/webview-unsafe.js
@@ -12,14 +12,14 @@ const waitFor = (condition, callback) => {
12const showModal = text => { 12const showModal = text => {
13 modal.querySelector('p').textContent = text; 13 modal.querySelector('p').textContent = text;
14 updates += 1; 14 updates += 1;
15 window.ferdi.setBadge(updates); 15 window.ferdium.setBadge(updates);
16 modal.classList.add('open'); 16 modal.classList.add('open');
17}; 17};
18 18
19const hideModal = () => { 19const hideModal = () => {
20 modal.querySelector('p').textContent = ''; 20 modal.querySelector('p').textContent = '';
21 updates -= 1; 21 updates -= 1;
22 window.ferdi.setBadge(updates); 22 window.ferdium.setBadge(updates);
23 modal.classList.remove('open'); 23 modal.classList.remove('open');
24}; 24};
25 25
diff --git a/recipes/googlecalendar/webview.js b/recipes/googlecalendar/webview.js
index 7a55b0a..ef03ce2 100644
--- a/recipes/googlecalendar/webview.js
+++ b/recipes/googlecalendar/webview.js
@@ -2,7 +2,7 @@ const _path = _interopRequireDefault(require('path'));
2 2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5module.exports = Ferdi => { 5module.exports = Ferdium => {
6 Ferdi.injectCSS(_path.default.join(__dirname, 'calendar.css')); 6 Ferdium.injectCSS(_path.default.join(__dirname, 'calendar.css'));
7 Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); 7 Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js'));
8}; 8};