aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gotomeeting/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/gotomeeting/webview.js
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
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.
Diffstat (limited to 'recipes/gotomeeting/webview.js')
-rw-r--r--recipes/gotomeeting/webview.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js
index 6e0b370..097df0d 100644
--- a/recipes/gotomeeting/webview.js
+++ b/recipes/gotomeeting/webview.js
@@ -1,8 +1,11 @@
1const path = require('path'); 1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2 4
3module.exports = Ferdi => { 5module.exports = Ferdi => {
4 Ferdi.injectCSS(path.join(__dirname, 'service.css')); 6 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
7
5 if (document.location.href.match('after')) { 8 if (document.location.href.match('after')) {
6 document.location.href = 'https://app.gotomeeting.com/home.html'; 9 document.location.href = 'https://app.gotomeeting.com/home.html';
7 } 10 }
8}; 11};