From be4c5abcae4ef3d49bec8dba632381989af05311 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 3 Dec 2021 18:30:57 +0530 Subject: fix: extending #782 - remove dummy 'webview.js' files. --- docs/integration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/integration.md') diff --git a/docs/integration.md b/docs/integration.md index c078ba1..9e9a547 100644 --- a/docs/integration.md +++ b/docs/integration.md @@ -64,7 +64,7 @@ Every recipe needs a specific file structure in order to work as a Ferdi recipe - icon.svg - Icon for the service in SVG form (must be square) - index.js - Backend script, this script is NOT included in the service webview but only in Ferdi itself - package.json - Information about the recipe -- webview.js - Frontend script, this script is injected into the service itself but still has access to all NodeJS APIs +- webview.js - Optional frontend script, this script is injected into the service itself but still has access to all NodeJS APIs - darkmode.css - CSS File that gets included when dark mode is activated ### package.json @@ -153,7 +153,7 @@ overrideUserAgent() { ### webview.js -The `webview.js` is the actual script that will be loaded into the webview. Here you can do whatever you want to do in order perfectly integrate the service into Ferdi. For convenience, we have provided a very simple set of functions to set unread message badges (`Ferdi.setBadge()`), set active dialog title (`Ferdi.setDialogTitle()`) and inject CSS files (`Ferdi.injectCSS()`). +The optional `webview.js` is the actual script that will be loaded into the webview. Here you can do whatever you want to do in order perfectly integrate the service into Ferdi. For convenience, we have provided a very simple set of functions to set unread message badges (`Ferdi.setBadge()`), set active dialog title (`Ferdi.setDialogTitle()`) and inject CSS files (`Ferdi.injectCSS()`). ```js // telegram integration -- cgit v1.2.3-70-g09d2