aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/good-reads
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-11-01 15:14:04 +0530
commit27ffda874e6808a7815ea7844355802afaad9599 (patch)
tree194011a66b86e3c603e964426c487813e62e943a /recipes/good-reads
parentUse PascalCasing for generated backend API class name (#759) (diff)
downloadferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.gz
ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.tar.zst
ferdium-recipes-27ffda874e6808a7815ea7844355802afaad9599.zip
chore: remove empty 'service.css' from recipes. Remove 'README.md' from the creation script
Diffstat (limited to 'recipes/good-reads')
-rw-r--r--recipes/good-reads/package.json2
-rw-r--r--recipes/good-reads/service.css1
-rw-r--r--recipes/good-reads/webview.js8
3 files changed, 1 insertions, 10 deletions
diff --git a/recipes/good-reads/package.json b/recipes/good-reads/package.json
index 310da33..7e68582 100644
--- a/recipes/good-reads/package.json
+++ b/recipes/good-reads/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "good-reads", 2 "id": "good-reads",
3 "name": "Good Reads", 3 "name": "Good Reads",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.goodreads.com/" 7 "serviceURL": "https://www.goodreads.com/"
diff --git a/recipes/good-reads/service.css b/recipes/good-reads/service.css
deleted file mode 100644
index 38dcab0..0000000
--- a/recipes/good-reads/service.css
+++ /dev/null
@@ -1 +0,0 @@
1/* Insert custom styles you want to insert here */ \ No newline at end of file
diff --git a/recipes/good-reads/webview.js b/recipes/good-reads/webview.js
index 338b634..7fa5867 100644
--- a/recipes/good-reads/webview.js
+++ b/recipes/good-reads/webview.js
@@ -1,9 +1,3 @@
1var _path = _interopRequireDefault(require("path"));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
8 const getMessages = () => { 2 const getMessages = () => {
9 const notificationBadge = document.querySelector( 3 const notificationBadge = document.querySelector(
@@ -16,6 +10,4 @@ module.exports = (Ferdi) => {
16 Ferdi.setBadge(notification); 10 Ferdi.setBadge(notification);
17 }; 11 };
18 Ferdi.loop(getMessages); 12 Ferdi.loop(getMessages);
19
20 Ferdi.injectCSS(_path.default.join(__dirname, "service.css"));
21}; 13};