diff options
author | 2022-08-06 09:50:24 -0300 | |
---|---|---|
committer | 2022-08-06 12:50:24 +0000 | |
commit | 7e4b67b0af03ccfc22a6fef60a79b83956511369 (patch) | |
tree | 702095f38689cc8086c980694de5881abbfca46b /recipes/grammarly/webview.js | |
parent | Upgrade 'nodejs' to '16.16.0' (diff) | |
download | ferdium-recipes-7e4b67b0af03ccfc22a6fef60a79b83956511369.tar.gz ferdium-recipes-7e4b67b0af03ccfc22a6fef60a79b83956511369.tar.zst ferdium-recipes-7e4b67b0af03ccfc22a6fef60a79b83956511369.zip |
Add Grammarly recipe (#140)
Co-authored-by: André Oliveira <37463445+SpecialAro@users.noreply.github.com>
Diffstat (limited to 'recipes/grammarly/webview.js')
-rw-r--r-- | recipes/grammarly/webview.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/grammarly/webview.js b/recipes/grammarly/webview.js new file mode 100644 index 0000000..afe3605 --- /dev/null +++ b/recipes/grammarly/webview.js | |||
@@ -0,0 +1,9 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | Ferdium.injectCSS(_path.default.join(__dirname, 'style.css')); | ||
9 | }; | ||