diff options
author | 2022-06-07 17:01:37 +0100 | |
---|---|---|
committer | 2022-06-07 16:01:37 +0000 | |
commit | 54f3affd80401051db8464d6bed8ad4ed1e66fd1 (patch) | |
tree | d166ec91c97ec1220787c857f6e3c5004d13889b /recipes/anonaddy/webview.js | |
parent | Add home assistant recipe (#47) (diff) | |
download | ferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.tar.gz ferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.tar.zst ferdium-recipes-54f3affd80401051db8464d6bed8ad4ed1e66fd1.zip |
Add webview.js to some services that were generated without it. (#42)
This had blocked users from manually generating a `service.css` which is what the documentation recommends as self-help to override styling.
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'recipes/anonaddy/webview.js')
-rw-r--r-- | recipes/anonaddy/webview.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/anonaddy/webview.js b/recipes/anonaddy/webview.js new file mode 100644 index 0000000..46366f4 --- /dev/null +++ b/recipes/anonaddy/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, 'service.css')); | ||
9 | }; \ No newline at end of file | ||