From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/googlecalendar/index.js | 2 +- recipes/googlecalendar/package.json | 2 +- recipes/googlecalendar/webview-unsafe.js | 4 ++-- recipes/googlecalendar/webview.js | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/googlecalendar') 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 @@ { "id": "googlecalendar", "name": "Google Calendar", - "version": "2.2.0", + "version": "2.3.0", "license": "MIT", "aliases": [ "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) => { const showModal = text => { modal.querySelector('p').textContent = text; updates += 1; - window.ferdi.setBadge(updates); + window.ferdium.setBadge(updates); modal.classList.add('open'); }; const hideModal = () => { modal.querySelector('p').textContent = ''; updates -= 1; - window.ferdi.setBadge(updates); + window.ferdium.setBadge(updates); modal.classList.remove('open'); }; 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')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -module.exports = Ferdi => { - Ferdi.injectCSS(_path.default.join(__dirname, 'calendar.css')); - Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); +module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'calendar.css')); + Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); }; -- cgit v1.2.3-70-g09d2