From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: chore: normalized all recipes to ensure compatibility with es6 (#639) - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm. --- recipes/googledrive/index.js | 4 +--- recipes/googledrive/package.json | 2 +- recipes/googledrive/webview.js | 8 +++++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'recipes/googledrive') diff --git a/recipes/googledrive/index.js b/recipes/googledrive/index.js index a882324..c3580bd 100644 --- a/recipes/googledrive/index.js +++ b/recipes/googledrive/index.js @@ -1,4 +1,2 @@ -const os = require('os'); - -module.exports = Franz => class googledrive extends Franz { +module.exports = Ferdi => class googledrive extends Ferdi { }; diff --git a/recipes/googledrive/package.json b/recipes/googledrive/package.json index aee3ee9..7ee22ae 100644 --- a/recipes/googledrive/package.json +++ b/recipes/googledrive/package.json @@ -1,7 +1,7 @@ { "id": "googledrive", "name": "Google Drive", - "version": "2.0.1", + "version": "2.1.0", "repository": "https://github.com/BrianGilbert/franz-recipe-tawk", "license": "MIT", "config": { diff --git a/recipes/googledrive/webview.js b/recipes/googledrive/webview.js index 7f8f7ad..ae1e755 100644 --- a/recipes/googledrive/webview.js +++ b/recipes/googledrive/webview.js @@ -1,5 +1,7 @@ -const path = require('path'); +const _path = _interopRequireDefault(require('path')); -module.exports = (Franz) => { - Franz.injectJSUnsafe(path.join(__dirname, 'webview-unsafe.js')); +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +module.exports = (Ferdi) => { + Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); }; -- cgit v1.2.3-70-g09d2