aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zoho/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/zoho/webview.js
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/zoho/webview.js')
-rw-r--r--recipes/zoho/webview.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/zoho/webview.js b/recipes/zoho/webview.js
index 7c833a3..02a5039 100644
--- a/recipes/zoho/webview.js
+++ b/recipes/zoho/webview.js
@@ -2,9 +2,9 @@ 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 const getMessages = () => { 6 const getMessages = () => {
7 Ferdi.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js')); 7 Ferdium.injectJSUnsafe(_path.default.join(__dirname, 'webview-unsafe.js'));
8 }; 8 };
9 9
10 //Zoho uses different URLs for different regions. Find out which region the account belongs to and redirect to the correct URL. 10 //Zoho uses different URLs for different regions. Find out which region the account belongs to and redirect to the correct URL.
@@ -18,6 +18,5 @@ module.exports = (Ferdi) => {
18 } 18 }
19 19
20 window.addEventListener('load', redirectRegion); 20 window.addEventListener('load', redirectRegion);
21 Ferdi.loop(getMessages); 21 Ferdium.loop(getMessages);
22
23}; 22};