aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/buffer/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/buffer/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/buffer/webview.js')
-rw-r--r--recipes/buffer/webview.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes/buffer/webview.js b/recipes/buffer/webview.js
index 080e809..035c69a 100644
--- a/recipes/buffer/webview.js
+++ b/recipes/buffer/webview.js
@@ -1,6 +1,7 @@
1const path = require('path'); 1const _path = _interopRequireDefault(require('path'));
2 2
3module.exports = (Franz, options) => { 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 // inject franz.css stylesheet 4
5 Franz.injectCSS(path.join(__dirname, 'css', 'franz.css')); 5module.exports = (Ferdi) => {
6 Ferdi.injectCSS(_path.default.join(__dirname, 'css', 'franz.css'));
6}; 7};