aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/stackoverflow-chat
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/stackoverflow-chat
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/stackoverflow-chat')
-rw-r--r--recipes/stackoverflow-chat/README.md2
-rw-r--r--recipes/stackoverflow-chat/package.json2
-rw-r--r--recipes/stackoverflow-chat/service.css1
-rw-r--r--recipes/stackoverflow-chat/webview.js8
4 files changed, 1 insertions, 12 deletions
diff --git a/recipes/stackoverflow-chat/README.md b/recipes/stackoverflow-chat/README.md
deleted file mode 100644
index a5aadcd..0000000
--- a/recipes/stackoverflow-chat/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
1# stackoverflow-chat for Ferdi
2This is a Ferdi recipe for stackoverflow-chat
diff --git a/recipes/stackoverflow-chat/package.json b/recipes/stackoverflow-chat/package.json
index 4cbddeb..81efd40 100644
--- a/recipes/stackoverflow-chat/package.json
+++ b/recipes/stackoverflow-chat/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "stackoverflow-chat", 2 "id": "stackoverflow-chat",
3 "name": "Stackoverflow chat", 3 "name": "Stackoverflow chat",
4 "version": "1.0.1", 4 "version": "1.0.2",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://chat.stackoverflow.com/", 7 "serviceURL": "https://chat.stackoverflow.com/",
diff --git a/recipes/stackoverflow-chat/service.css b/recipes/stackoverflow-chat/service.css
deleted file mode 100644
index 38dcab0..0000000
--- a/recipes/stackoverflow-chat/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/stackoverflow-chat/webview.js b/recipes/stackoverflow-chat/webview.js
index 4157600..622d764 100644
--- a/recipes/stackoverflow-chat/webview.js
+++ b/recipes/stackoverflow-chat/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 unreadSpan = document.querySelector( 3 const unreadSpan = document.querySelector(
@@ -16,6 +10,4 @@ module.exports = Ferdi => {
16 Ferdi.setBadge(directCount); 10 Ferdi.setBadge(directCount);
17 }; 11 };
18 Ferdi.loop(getMessages); 12 Ferdi.loop(getMessages);
19
20 Ferdi.injectCSS(_path.default.join(__dirname, 'service.css'));
21}; 13};